Limit use of AIX intrinsics to IBM's compiler
This commit is contained in:
parent
e1d4d0f1db
commit
49e72634af
|
@ -119,7 +119,7 @@ typedef unsigned int hb_atomic_int_impl_t;
|
||||||
#define hb_atomic_ptr_impl_cmpexch(P,O,N) ( ({__machine_rw_barrier ();}), atomic_cas_ptr ((void **) (P), (void *) (O), (void *) (N)) == (void *) (O) ? true : false)
|
#define hb_atomic_ptr_impl_cmpexch(P,O,N) ( ({__machine_rw_barrier ();}), atomic_cas_ptr ((void **) (P), (void *) (O), (void *) (N)) == (void *) (O) ? true : false)
|
||||||
|
|
||||||
|
|
||||||
#elif !defined(HB_NO_MT) && defined(_AIX)
|
#elif !defined(HB_NO_MT) && defined(_AIX) && defined(__IBMCPP__)
|
||||||
|
|
||||||
#include <builtins.h>
|
#include <builtins.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue