< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-atomic-private.hh

Print this page
rev 53731 : 8218965: aix: support xlclang++ in the compiler detection

@@ -113,11 +113,11 @@
 #define hb_atomic_ptr_impl_cmpexch(P,O,N)       OSAtomicCompareAndSwap32Barrier ((int32_t) (void *) (O), (int32_t) (void *) (N), (int32_t*) (P))
 #endif
 #endif
 
 
-#elif !defined(HB_NO_MT) && defined(_AIX) && defined(__IBMCPP__)
+#elif !defined(HB_NO_MT) && defined(_AIX) && (defined(__IBMCPP__) || defined(__ibmxl__))
 
 #include <builtins.h>
 
 
 static inline int _hb_fetch_and_add(volatile int* AI, unsigned int V) {
< prev index next >