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:
Christoph Purrer
2022-10-31 05:31:13 -07:00
committed by Facebook GitHub Bot
parent e3e635ef84
commit 76c7ccaa60
2 changed files with 2 additions and 4 deletions
@@ -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