Skip to content

Commit

Permalink
Refactor _JSC_HAS_INSPECTABLE to support macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Oct 21, 2023
1 parent 0d0084c commit c94ec2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-native/ReactCommon/jsc/JSCRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ class JSCRuntime : public jsi::Runtime {
#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_12
#define _JSC_NO_ARRAY_BUFFERS
#endif
// [macOS
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 130300
#define _JSC_HAS_INSPECTABLE
#endif
// macOS]
#endif

// JSStringRef utilities
Expand Down

0 comments on commit c94ec2d

Please sign in to comment.