Fix MSVC compilation when atomics experimental feature is not set

This commit is contained in:
satk0 2024-10-07 22:09:21 +02:00 committed by Saúl Ibarra Corretgé
parent 1db8d6cc19
commit 2344d19220

View file

@ -62,7 +62,7 @@
#define NO_TM_GMTOFF
#endif
#if !defined(EMSCRIPTEN) && !defined(__wasi__)
#if !defined(EMSCRIPTEN) && !defined(__wasi__) && !defined(__STDC_NO_ATOMICS__)
#include "quickjs-c-atomics.h"
#define CONFIG_ATOMICS
#endif