define the same atoms with or without CONFIG_ATOMICS (github issue #76)

This commit is contained in:
Fabrice Bellard 2023-12-27 18:28:54 +01:00
parent 2785ede778
commit ffe81419ff

View File

@ -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")