diff options
Diffstat (limited to 'ace/config-aix-4.x.h')
-rw-r--r-- | ace/config-aix-4.x.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/ace/config-aix-4.x.h b/ace/config-aix-4.x.h index 2b65f4ac411..2ba01f9526f 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, IBM C/C++, and Visual Age C++ compilers + // AIX xlC compiler //******************************************************************** // // Compiler-related definitions. These are set for C Set ++ V3 @@ -19,21 +19,18 @@ // Keep an eye on this as the compiler and standards converge... # define ACE_LACKS_LINEBUFFERED_STREAMBUF -# define ACE_LACKS_PRAGMA_ONCE +#if defined (__IBMCPP__) + #define ACE_TEMPLATES_REQUIRE_SOURCE +#endif /* __IBMCPP__ */ + +#if defined (__IBMCPP__) && (__IBMCPP__ >= 400) +#undef WIFEXITED +#undef WEXITSTATUS +#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */ - // C Set++ 3.1 and IBM C/C++ 3.6 -# if defined (__xlC__) -# define ACE_TEMPLATES_REQUIRE_PRAGMA -# endif +# define ACE_TEMPLATES_REQUIRE_PRAGMA - // These are for Visual Age C++ only -# if defined (__IBMCPP__) && (__IBMCPP__ >= 400) -# define ACE_TEMPLATES_REQUIRE_SOURCE -# define ACE_HAS_STD_TEMPLATE_SPECIALIZATION -# define ACE_HAS_TYPENAME_KEYWORD -# undef WIFEXITED -# undef WEXITSTATUS -# endif /* __IBMCPP__ */ +# define ACE_LACKS_PRAGMA_ONCE #elif defined (__GNUG__) # include "ace/config-g++-common.h" @@ -214,7 +211,6 @@ // send email to ace-users@cs.wustl.edu reporting this. // #define ACE_LACKS_CONDATTR_PSHARED // #define ACE_LACKS_MUTEXATTR_PSHARED -# define ACE_LACKS_SETSCHED #endif /* ACE_AIX_MINOR_VERS >= 3 */ #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS |