summaryrefslogtreecommitdiff
path: root/ace/config-linux-common.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-30 16:12:21 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-30 16:12:21 +0000
commitbeb8bf0d8b43b48c9fa4fb0440e000a0de44f428 (patch)
treec2ae83c0b040e362dad8e1061faa93f26e01c817 /ace/config-linux-common.h
parent6bb5c60c35d18783181fc5d5c04121e42cad4fdc (diff)
downloadATCD-beb8bf0d8b43b48c9fa4fb0440e000a0de44f428.tar.gz
migrated to config-g++-common.h
Diffstat (limited to 'ace/config-linux-common.h')
-rw-r--r--ace/config-linux-common.h25
1 files changed, 8 insertions, 17 deletions
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index 281ef95a7aa..5a6fad12547 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -106,16 +106,14 @@
// Then the compiler specific parts
-// egcs or really modern gcc
-#if __GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 90)
-# define ACE_HAS_ANSI_CASTS
-# define ACE_HAS_CPLUSPLUS_HEADERS
-# define ACE_HAS_STDCPP_STL_INCLUDES
-# define ACE_HAS_TEMPLATE_TYPEDEFS
-# define ACE_HAS_TYPENAME_KEYWORD
-#else
-# define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
-#endif /* EGCS */
+#if defined (__GNUG__)
+# include "ace/config-g++-common.h"
+#elif defined (__KCC)
+// Add KCC support here!
+# error KCC support is not yet available from ace/config-linux-common.h
+#else /* ! __GNUG__ && ! __KCC */
+# error unsupported compiler in ace/config-linux-common.h
+#endif /* ! __GNUG__ && ! __KCC */
// Completely common part :-)
@@ -204,13 +202,6 @@
#define ACE_HAS_POSIX_TIME
-// TDN - adapted from file for SunOS4 platforms using the GNU g++ compiler
-// Compiler's template mechanism must see source code (i.e., .C files).
-#define ACE_TEMPLATES_REQUIRE_SOURCE
-
-#define ACE_HAS_TEMPLATE_SPECIALIZATION
-#define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
-
// Turns off the tracing feature.
#if !defined (ACE_NTRACE)
# define ACE_NTRACE 1