From: Peter Edberg Date: Wed, 13 Mar 2019 23:23:31 +0000 (-0700) Subject: ICU-13440 replace obsolete TARGET_IPHONE_SIMULATOR conditional X-Git-Tag: release-64-1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2849784108f151aaeb8bcd5e32c0669ad6887a09;p=icu ICU-13440 replace obsolete TARGET_IPHONE_SIMULATOR conditional --- diff --git a/icu4c/source/common/putil.cpp b/icu4c/source/common/putil.cpp index 6e5468fe0bd..532a0903cdd 100644 --- a/icu4c/source/common/putil.cpp +++ b/icu4c/source/common/putil.cpp @@ -1307,9 +1307,9 @@ uprv_pathIsAbsolute(const char *path) return FALSE; } -/* Temporary backup setting of ICU_DATA_DIR_PREFIX_ENV_VAR - until some client wrapper makefiles are updated */ -#if U_PLATFORM_IS_DARWIN_BASED && TARGET_IPHONE_SIMULATOR +/* 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 !defined(ICU_DATA_DIR_PREFIX_ENV_VAR) # define ICU_DATA_DIR_PREFIX_ENV_VAR "IPHONE_SIMULATOR_ROOT" # endif