Disable Intel atomic ops on mingw32
Apparently the configure test is not enough...
This commit is contained in:
parent
0594a24484
commit
4a3a9897b3
|
@ -65,7 +65,7 @@ typedef int32_t hb_atomic_int_t;
|
|||
#define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwapPtrBarrier ((void *) (O), (void *) (N), (void **) (P))
|
||||
|
||||
|
||||
#elif !defined(HB_NO_MT) && defined(HAVE_INTEL_ATOMIC_PRIMITIVES)
|
||||
#elif !defined(HB_NO_MT) && defined(HAVE_INTEL_ATOMIC_PRIMITIVES) && !defined(__MINGW32__)
|
||||
|
||||
typedef int hb_atomic_int_t;
|
||||
#define hb_atomic_int_add(AI, V) __sync_fetch_and_add (&(AI), (V))
|
||||
|
|
Loading…
Reference in New Issue