mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 22:38:37 +08:00
Introduce macro that disables poisoning JSC symbols
Reviewed By: dcaspi Differential Revision: D6184846 fbshipit-source-id: 755653ceebcbded8fbe165375e8e8e50cf0ecccc
This commit is contained in:
committed by
Facebook Github Bot
parent
c6a30ab949
commit
02f7c61cdd
@@ -50,7 +50,11 @@
|
||||
// mixed usage of regular and custom JSC methods.
|
||||
// See https://gcc.gnu.org/onlinedocs/gcc-3.3/cpp/Pragmas.html for details
|
||||
#define jsc_pragma(x) _Pragma(#x)
|
||||
#ifndef NO_JSC_POISON
|
||||
#define jsc_poison(methods) jsc_pragma(GCC poison methods)
|
||||
#else
|
||||
#define jsc_poison(methods)
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user