src/share/vm/utilities/macros.hpp

Print this page
rev 4899 : 8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX.
Summary: On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used. Clean up old gcc bug workaround (ATTR) and includes in forte.cpp.

*** 318,328 **** #else #define IA32_ONLY(code) #define NOT_IA32(code) code #endif ! #ifdef IA64 #define IA64_ONLY(code) code #define NOT_IA64(code) #else #define IA64_ONLY(code) #define NOT_IA64(code) code --- 318,332 ---- #else #define IA32_ONLY(code) #define NOT_IA32(code) code #endif ! // This is a REALLY BIG HACK, but on AIX <sys/systemcfg.h> unconditionally defines IA64. ! // At least on AIX 7.1 this is a real problem because 'systemcfg.h' is indirectly included ! // by 'pthread.h' and other common system headers. ! ! #if defined(IA64) && !defined(AIX) #define IA64_ONLY(code) code #define NOT_IA64(code) #else #define IA64_ONLY(code) #define NOT_IA64(code) code