Don't build with Atomics support by default

It's not currently implemented for Windows which makes the bytecode
generated by qjsc not portable.
This commit is contained in:
Saúl Ibarra Corretgé 2023-11-01 21:10:36 +01:00
parent 5f70d08c02
commit f51616eac8

View file

@ -67,12 +67,6 @@
#define CONFIG_PRINTF_RNDN #define CONFIG_PRINTF_RNDN
#endif #endif
/* define to include Atomics.* operations which depend on the OS
threads */
#if !defined(EMSCRIPTEN)
#define CONFIG_ATOMICS
#endif
#if !defined(EMSCRIPTEN) #if !defined(EMSCRIPTEN)
/* enable stack limitation */ /* enable stack limitation */
#define CONFIG_STACK_CHECK #define CONFIG_STACK_CHECK