Upstream change for OSX
This commit is contained in:
@@ -38,7 +38,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
#include <AvailabilityMacros.h>
|
#include <AvailabilityMacros.h>
|
||||||
# if TARGET_OS_OSX
|
# if TARGET_OS_OSX
|
||||||
# define USE_PTHREAD_JIT_WP 1
|
# if TARGET_CPU_ARM64
|
||||||
|
# define USE_PTHREAD_JIT_WP 1
|
||||||
|
# else
|
||||||
|
# undef USE_PTHREAD_JIT_WP
|
||||||
|
# endif
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user