Skip to content

Commit

Permalink
Allow disabling atomics
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 26, 2024
1 parent 547df2d commit 1859c03
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 @@ -67,7 +67,7 @@

/* define to include Atomics.* operations which depend on the OS
threads */
#if !defined(EMSCRIPTEN)
#if !defined(EMSCRIPTEN) && !defined(DISABLE_ATOMICS)
#define CONFIG_ATOMICS
#endif

Expand Down

0 comments on commit 1859c03

Please sign in to comment.