mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
Use _Atomic type for socket.sending and socket.udpconnecting. See #1317
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#ifndef USE_PTHREAD_LOCK
|
||||
|
||||
#ifdef NO_STDATOMIC
|
||||
#ifdef __STDC_NO_ATOMICS__
|
||||
|
||||
#define atomic_flag_ int
|
||||
#define ATOMIC_FLAG_INIT_ 0
|
||||
|
||||
Reference in New Issue
Block a user