mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
chore: make iOS glog script compatible with tvOS (#49539)
Summary: This upstreams a change from [RNTV](https://github.com/react-native-tvos/react-native-tvos/) to allow the glog prepare script to work on both iOS and tvOS. ## Changelog: [Internal][Changed] make iOS glog script compatible with tvOS Pull Request resolved: https://github.com/facebook/react-native/pull/49539 Test Plan: - This change works well on the TV repo - CI should pass, and iOS compilation and operation should be unchanged Reviewed By: cortinico Differential Revision: D69928586 Pulled By: cipolleschi fbshipit-source-id: b5fec438151e659e98834a83effbc7e166df6aa5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a91cafd8cd
commit
2c4a9d2a1b
@@ -70,6 +70,15 @@ cat << EOF >> src/config.h
|
||||
#include <Availability.h>
|
||||
#endif
|
||||
|
||||
/* Special configuration for AppleTVOS */
|
||||
#if TARGET_OS_TV
|
||||
#undef HAVE_SYSCALL_H
|
||||
#undef HAVE_SYS_SYSCALL_H
|
||||
#undef OS_MACOSX
|
||||
/* NO_THREADS needed right now for Xcode 16 */
|
||||
#define NO_THREADS
|
||||
#endif
|
||||
|
||||
/* Special configuration for ucontext */
|
||||
#undef HAVE_UCONTEXT_H
|
||||
#undef PC_FROM_UCONTEXT
|
||||
|
||||
Reference in New Issue
Block a user