From: Fabrice Bellard Date: Wed, 27 Dec 2023 17:28:54 +0000 (+0100) Subject: define the same atoms with or without CONFIG_ATOMICS (github issue #76) X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=ffe81419fff5798b1983e30702c66d9ceb1f8a7a;p=quickjs.git define the same atoms with or without CONFIG_ATOMICS (github issue #76) --- 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")