diff options
Diffstat (limited to 'Build/source/libs/icu/TLpatches/patch-24-simulator')
-rw-r--r-- | Build/source/libs/icu/TLpatches/patch-24-simulator | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/libs/icu/TLpatches/patch-24-simulator b/Build/source/libs/icu/TLpatches/patch-24-simulator new file mode 100644 index 00000000000..accc7d749c3 --- /dev/null +++ b/Build/source/libs/icu/TLpatches/patch-24-simulator @@ -0,0 +1,13 @@ +Index: putil.cpp +=================================================================== +--- putil.cpp (revision 58009) ++++ putil.cpp (working copy) +@@ -1361,7 +1361,7 @@ uprv_pathIsAbsolute(const char *path) + + /* Backup setting of ICU_DATA_DIR_PREFIX_ENV_VAR + (needed for some Darwin ICU build environments) */ +-#if U_PLATFORM_IS_DARWIN_BASED && TARGET_OS_SIMULATOR ++#if U_PLATFORM_IS_DARWIN_BASED && defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR + # if !defined(ICU_DATA_DIR_PREFIX_ENV_VAR) + # define ICU_DATA_DIR_PREFIX_ENV_VAR "IPHONE_SIMULATOR_ROOT" + # endif |