summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
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"