File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
bridge/third_party/quickjs/include/quickjs Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3232extern "C" {
3333#endif
3434
35+ /* define to include Atomics.* operations which depend on the OS
36+ threads */
37+ #if !defined(EMSCRIPTEN )
38+ #define CONFIG_ATOMICS
39+ #endif
40+
3541#if defined(__GNUC__ ) || defined(__clang__ )
3642#define js_likely (x ) __builtin_expect(!!(x), 1)
3743#define js_unlikely (x ) __builtin_expect(!!(x), 0)
@@ -188,12 +194,6 @@ static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v) {
188194
189195#else /* !JS_NAN_BOXING */
190196
191- /* define to include Atomics.* operations which depend on the OS
192- threads */
193- #if !defined(EMSCRIPTEN )
194- #define CONFIG_ATOMICS
195- #endif
196-
197197typedef union JSValueUnion {
198198 int32_t int32 ;
199199 double float64 ;
You can’t perform that action at this time.
0 commit comments