diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2023-12-27 18:28:54 +0100 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2023-12-27 18:28:54 +0100 |
commit | ffe81419fff5798b1983e30702c66d9ceb1f8a7a (patch) | |
tree | 4493fb15f75a97a0430ab938dabde27a24c3555a /quickjs-atom.h | |
parent | 2785ede778adc94ef6e01ad8328a14b651dd9bad (diff) | |
download | quickjs-ffe81419fff5798b1983e30702c66d9ceb1f8a7a.tar.gz quickjs-ffe81419fff5798b1983e30702c66d9ceb1f8a7a.zip |
define the same atoms with or without CONFIG_ATOMICS (github issue #76)
Diffstat (limited to 'quickjs-atom.h')
-rw-r--r-- | quickjs-atom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quickjs-atom.h b/quickjs-atom.h index d278ae4..e931c31 100644 --- a/quickjs-atom.h +++ b/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") |