diff options
Diffstat (limited to 'ACEXML/apps')
-rw-r--r-- | ACEXML/apps/svcconf/Svcconf.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ACEXML/apps/svcconf/Svcconf.cpp b/ACEXML/apps/svcconf/Svcconf.cpp index 0817cde90bd..12a6f3144fc 100644 --- a/ACEXML/apps/svcconf/Svcconf.cpp +++ b/ACEXML/apps/svcconf/Svcconf.cpp @@ -107,10 +107,11 @@ ACEXML_Svcconf_Parser::parse_string (const ACE_TCHAR str[]) #else -# if defined (ACE_AIX_VERS) && (ACE_AIX_VERS == 403) -// This simply shuts up the AIX 4.3 linker that complains there are no -// csects or exported symbols from the shared library. -extern "C" void shut_up_aix_ld (void) {}; -# endif /* AIX 4.3 */ +# if defined (_AIX) && \ + (defined (__IBMCPP__) && (__IBMCPP__ >= 500) && (__IBMCPP__ < 600)) +// This simply shuts up the AIX linker that complains there are no +// csects or exported symbols when building with Visual Age C++ 5. +extern "C" void ace_shut_up_aix_ld (void) {}; +# endif /* AIX && __IBMCPP__ == 500 */ #endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */ |