--- a/src/hotspot/share/utilities/globalDefinitions_xlc.hpp Sat Aug 31 09:18:40 2019 -0700
+++ b/src/hotspot/share/utilities/globalDefinitions_xlc.hpp Fri Aug 30 09:37:41 2019 +0200
@@ -51,11 +51,13 @@
#include <stdint.h>
-// __IBMCPP__ is not defined any more with xlclang++
-#ifdef __IBMCPP__
-#if __IBMCPP__ < 1200
-#error "xlc < 12 not supported"
-#endif
+// check for xlc16 or higher
+#ifdef __ibmxl_version__
+ #if __ibmxl_version__ < 16
+ #error "xlc < 16 not supported"
+ #endif
+#else
+ #error "xlc < 16 not supported, macro __ibmxl_version__ not found"
#endif
#ifndef _AIX