mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix MSVC compilation when atomics experimental feature is not set
This commit is contained in:
parent
1db8d6cc19
commit
2344d19220
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
||||||
#define NO_TM_GMTOFF
|
#define NO_TM_GMTOFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(EMSCRIPTEN) && !defined(__wasi__)
|
#if !defined(EMSCRIPTEN) && !defined(__wasi__) && !defined(__STDC_NO_ATOMICS__)
|
||||||
#include "quickjs-c-atomics.h"
|
#include "quickjs-c-atomics.h"
|
||||||
#define CONFIG_ATOMICS
|
#define CONFIG_ATOMICS
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue