Skip to content

Commit

Permalink
Fix MSVC compilation when atomics experimental feature is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 authored and saghul committed Oct 7, 2024
1 parent 1db8d6c commit 2344d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2344d19

Please sign in to comment.