From f51616eac8a9a23c152f3ce2d3567a1eb6434829 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 a2c653e..afc4b34 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