Set HAVE_TASK_RESTARTABLE_RANGES to 0 if building for Darling.

This commit is contained in:
Thomas A 2022-04-29 17:16:02 -07:00
parent 5a22f74c04
commit 9ded2a81c0

View File

@ -162,7 +162,7 @@
// Define HAVE_TASK_RESTARTABLE_RANGES to enable usage of
// task_restartable_ranges_synchronize()
#if TARGET_OS_SIMULATOR || defined(__i386__) || defined(__arm__) || !TARGET_OS_MAC
#if TARGET_OS_SIMULATOR || defined(__i386__) || defined(__arm__) || !TARGET_OS_MAC || defined(DARLING)
# define HAVE_TASK_RESTARTABLE_RANGES 0
#else
# define HAVE_TASK_RESTARTABLE_RANGES 1