summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-07-13 16:09:37 +0000
committerSteve Huston <shuston@riverace.com>1999-07-13 16:09:37 +0000
commita09a8c4dd87a75665bd48af6aacdd0d0651350f3 (patch)
treeaafc1a2e022302e29a6b540f9d0c77423e86a620 /ace
parentf0c023701637d3e7c0902a442e2b14757d5e2f3a (diff)
downloadATCD-a09a8c4dd87a75665bd48af6aacdd0d0651350f3.tar.gz
Set template settings for VAC++ 4, and it needs ACE_HAS_TYPENAME.
Diffstat (limited to 'ace')
-rw-r--r--ace/config-aix-4.3.x.h11
-rw-r--r--ace/config-aix-4.x.h22
2 files changed, 23 insertions, 10 deletions
diff --git a/ace/config-aix-4.3.x.h b/ace/config-aix-4.3.x.h
new file mode 100644
index 00000000000..dae15950e06
--- /dev/null
+++ b/ace/config-aix-4.3.x.h
@@ -0,0 +1,11 @@
+/* -*- C++ -*- */
+// $Id$
+
+#if !defined (ACE_AIX_MAJOR_VERS)
+# define ACE_AIX_MAJOR_VERS 4
+#endif
+#if !defined (ACE_AIX_MINOR_VERS)
+# define ACE_AIX_MINOR_VERS 3
+#endif
+
+#include "ace/config-aix-4.x.h"
diff --git a/ace/config-aix-4.x.h b/ace/config-aix-4.x.h
index 2ba01f9526f..0e7fa0cde98 100644
--- a/ace/config-aix-4.x.h
+++ b/ace/config-aix-4.x.h
@@ -9,7 +9,7 @@
#define ACE_CONFIG_H
#if defined (__xlC__) || (__IBMCPP__)
- // AIX xlC compiler
+ // AIX xlC and Visual Age C++ compilers
//********************************************************************
//
// Compiler-related definitions. These are set for C Set ++ V3
@@ -19,18 +19,20 @@
// Keep an eye on this as the compiler and standards converge...
# define ACE_LACKS_LINEBUFFERED_STREAMBUF
-#if defined (__IBMCPP__)
- #define ACE_TEMPLATES_REQUIRE_SOURCE
-#endif /* __IBMCPP__ */
-
-#if defined (__IBMCPP__) && (__IBMCPP__ >= 400)
-#undef WIFEXITED
-#undef WEXITSTATUS
-#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */
+# define ACE_LACKS_PRAGMA_ONCE
# define ACE_TEMPLATES_REQUIRE_PRAGMA
-# define ACE_LACKS_PRAGMA_ONCE
+ // These are for Visual Age C++ only
+# if defined (__IBMCPP__)
+# define ACE_TEMPLATES_REQUIRE_SOURCE
+# define ACE_HAS_STD_TEMPLATE_SPECIALIZATION
+# define ACE_HAS_TYPENAME_KEYWORD
+# if (__IBMCPP__ >= 400)
+# undef WIFEXITED
+# undef WEXITSTATUS
+# endif /* __IBMCPP__ >= 400 */
+# endif /* __IBMCPP__ */
#elif defined (__GNUG__)
# include "ace/config-g++-common.h"