Skip to content

Commit 80e487a

Browse files
committed
Try fixing __sync atomics
1 parent ec59a6c commit 80e487a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* and alignment purposes.
4343
*/
4444

45-
#if ZEND_WIN32
45+
#if ZEND_WIN32 || HAVE_SYNC_ATOMICS
4646
typedef struct zend_atomic_bool_s {
4747
volatile char value;
4848
} zend_atomic_bool;

0 commit comments

Comments
 (0)