mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable ManagedObjectWrapper on react-native-macOS (#35146)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35146 This class is used by Fabric - but does not compile on macOS yet. Changelog: [iOS][Fixed] Make ManagedObjectWrapper compile on macOS Reviewed By: javache Differential Revision: D40839241 fbshipit-source-id: 73b93a9963db89af19529fbfd60a64f4e5aaf036
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e3e635ef84
commit
76c7ccaa60
@@ -14,7 +14,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__OBJC__) && defined(__cplusplus)
|
||||
#if TARGET_OS_MAC && TARGET_OS_IPHONE
|
||||
#if TARGET_OS_MAC
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
|
||||
#include "ManagedObjectWrapper.h"
|
||||
|
||||
#if defined(__OBJC__) && defined(__cplusplus)
|
||||
#if TARGET_OS_MAC && TARGET_OS_IPHONE
|
||||
#if TARGET_OS_MAC
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
@@ -35,4 +34,3 @@ void wrappedManagedObjectDeleter(void *cfPointer) noexcept
|
||||
@end
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user