src/hotspot/share/utilities/globalDefinitions_xlc.hpp
changeset 57975 a333fdeb8de0
parent 53730 1d942423516c
child 58124 dc792fa77da0
equal deleted inserted replaced
57974:1262b3ddd7e4 57975:a333fdeb8de0
    49 #include <limits.h>
    49 #include <limits.h>
    50 #include <errno.h>
    50 #include <errno.h>
    51 
    51 
    52 #include <stdint.h>
    52 #include <stdint.h>
    53 
    53 
    54 // __IBMCPP__ is not defined any more with xlclang++
    54 // check for xlc16 or higher
    55 #ifdef __IBMCPP__
    55 #ifdef __ibmxl_version__
    56 #if __IBMCPP__ < 1200
    56   #if __ibmxl_version__ < 16
    57 #error "xlc < 12 not supported"
    57   #error "xlc < 16 not supported"
    58 #endif
    58   #endif
       
    59 #else
       
    60   #error "xlc < 16 not supported, macro __ibmxl_version__ not found"
    59 #endif
    61 #endif
    60 
    62 
    61 #ifndef _AIX
    63 #ifndef _AIX
    62 #error "missing AIX-specific definition _AIX"
    64 #error "missing AIX-specific definition _AIX"
    63 #endif
    65 #endif