< prev index next >

src/hotspot/share/utilities/globalDefinitions_xlc.hpp

Print this page
rev 53569 : 8218136: minor hotspot adjustments for xlclang++ from xlc16 on AIX

@@ -73,11 +73,12 @@
 // integer variable will cause gcc warning. Use NULL_WORD in places where a
 // pointer is stored as integer value.  On some platforms, sizeof(intptr_t) >
 // sizeof(void*), so here we want something which is integer type, but has the
 // same size as a pointer.
 #ifdef __GNUC__
-  #error XLC and __GNUC__?
+  // handle xlclang++
+  #define NULL_WORD  NULL  
 #else
   #define NULL_WORD  NULL
 #endif
 
 // AIX also needs a 64 bit NULL to work as a null address pointer.
< prev index next >