Support xlclang++ on AIX. (#1584)
authorMartin <44297768+TheRealMDoerr@users.noreply.github.com>
Fri, 15 Feb 2019 18:23:46 +0000 (19:23 +0100)
committerEbrahim Byagowi <ebrahim@gnu.org>
Fri, 15 Feb 2019 18:23:46 +0000 (21:53 +0330)
src/hb-atomic.hh

index 9321932..d98a960 100644 (file)
@@ -184,7 +184,7 @@ static inline bool _hb_compare_and_swap_ptr (void **P, void *O, void *N)
 #endif
 
 
-#elif !defined(HB_NO_MT) && defined(_AIX) && defined(__IBMCPP__)
+#elif !defined(HB_NO_MT) && defined(_AIX) && (defined(__IBMCPP__) || defined(__ibmxl__))
 
 #include <builtins.h>