mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-22 13:48:11 +08:00
define the same atoms with or without CONFIG_ATOMICS (github issue #76)
This commit is contained in:
parent
2785ede778
commit
ffe81419ff
@ -178,11 +178,11 @@ DEF(roundingMode, "roundingMode")
|
|||||||
DEF(maximumSignificantDigits, "maximumSignificantDigits")
|
DEF(maximumSignificantDigits, "maximumSignificantDigits")
|
||||||
DEF(maximumFractionDigits, "maximumFractionDigits")
|
DEF(maximumFractionDigits, "maximumFractionDigits")
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ATOMICS
|
/* the following 3 atoms are only used with CONFIG_ATOMICS */
|
||||||
DEF(not_equal, "not-equal")
|
DEF(not_equal, "not-equal")
|
||||||
DEF(timed_out, "timed-out")
|
DEF(timed_out, "timed-out")
|
||||||
DEF(ok, "ok")
|
DEF(ok, "ok")
|
||||||
#endif
|
/* */
|
||||||
DEF(toJSON, "toJSON")
|
DEF(toJSON, "toJSON")
|
||||||
/* class names */
|
/* class names */
|
||||||
DEF(Object, "Object")
|
DEF(Object, "Object")
|
||||||
|
Loading…
Reference in New Issue
Block a user