about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-27 18:28:54 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-28 22:14:38 +0100
commit1be2c85d192cbb54f91304903c6f0f58bd5e47e2 (patch)
tree06c3793bd5372a65bbc1be803f474607b039d72a /lib
parent4f372b4b7763a86f17aaf156caa19c0d5307d00b (diff)
downloadchawan-1be2c85d192cbb54f91304903c6f0f58bd5e47e2.tar.gz
define the same atoms with or without CONFIG_ATOMICS (github issue #76)
Diffstat (limited to 'lib')
-rw-r--r--lib/quickjs/quickjs-atom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/quickjs/quickjs-atom.h b/lib/quickjs/quickjs-atom.h
index d278ae47..e931c31f 100644
--- a/lib/quickjs/quickjs-atom.h
+++ b/lib/quickjs/quickjs-atom.h
@@ -178,11 +178,11 @@ DEF(roundingMode, "roundingMode")
 DEF(maximumSignificantDigits, "maximumSignificantDigits")
 DEF(maximumFractionDigits, "maximumFractionDigits")
 #endif
-#ifdef CONFIG_ATOMICS
+/* the following 3 atoms are only used with CONFIG_ATOMICS */
 DEF(not_equal, "not-equal")
 DEF(timed_out, "timed-out")
 DEF(ok, "ok")
-#endif
+/* */
 DEF(toJSON, "toJSON")
 /* class names */
 DEF(Object, "Object")