From 0834628220f23b22ed3df336ea9fc67c879d78ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 1 Nov 2023 21:10:36 +0100 Subject: [PATCH] Don't build with Atomics support by default It's not currently implemented for Windows which makes the bytecode generated by qjsc not portable. --- quickjs.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/quickjs.c b/quickjs.c index a2c653e3..afc4b341 100644 --- a/quickjs.c +++ b/quickjs.c @@ -67,12 +67,6 @@ #define CONFIG_PRINTF_RNDN #endif -/* define to include Atomics.* operations which depend on the OS - threads */ -#if !defined(EMSCRIPTEN) -#define CONFIG_ATOMICS -#endif - #if !defined(EMSCRIPTEN) /* enable stack limitation */ #define CONFIG_STACK_CHECK