Skip to content

Commit

Permalink
Allow tests to be executed in platform agnostic environment
Browse files Browse the repository at this point in the history
Summary:
changelog: [internal]

Make ManagedObjectWrapper compile in platform independent environment.

Reviewed By: ryancat

Differential Revision: D34302957

fbshipit-source-id: 50bf296983525c48cda1e532934b9998077c9fbf
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Feb 18, 2022
1 parent e912c46 commit bb7214b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReactCommon/react/utils/ManagedObjectWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

#include <react/debug/react_native_assert.h>

#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif

#if defined(__OBJC__) && defined(__cplusplus)
#if TARGET_OS_MAC && TARGET_OS_IPHONE

Expand Down

0 comments on commit bb7214b

Please sign in to comment.