Skip to content

Commit 84833e1

Browse files
authored
Update JSCRuntime.cpp
1 parent fb435d0 commit 84833e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ReactCommon/jsc/JSCRuntime.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,14 +405,12 @@ JSCRuntime::JSCRuntime(JSGlobalContextRef ctx)
405405
{
406406
// [macOS
407407
#ifndef NDEBUG
408-
#ifdef TARGET_OS_MAC
409-
#ifdef _JSC_HAS_INSPECTABLE
408+
#if defined(_JSC_HAS_INSPECTABLE)
410409
if (__builtin_available(macOS 13.3, iOS 16.4, tvOS 16.4, *)) {
411410
JSGlobalContextSetInspectable(ctx_, true);
412411
}
413412
#endif
414413
#endif
415-
#endif
416414
// macOS]
417415
}
418416

0 commit comments

Comments
 (0)