X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/common/localsvc.cpp diff --git a/icuSources/common/localsvc.cpp b/icuSources/common/localsvc.cpp index cb0cf6ca..a6093196 100644 --- a/icuSources/common/localsvc.cpp +++ b/icuSources/common/localsvc.cpp @@ -9,15 +9,13 @@ #include "aaplbfct.h" #include "cstring.h" -#if defined(U_DARWIN) -#include -#endif +// platform.h now includes if U_PLATFORM_IS_DARWIN_BASED // Return an appropriate Apple-specific object, based on the service in question U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status) { if (uprv_strcmp(what, "languageBreakFactory") == 0) { -#if defined(U_DARWIN) && TARGET_OS_MAC +#if U_PLATFORM_IS_DARWIN_BASED && TARGET_OS_MAC return new AppleLanguageBreakFactory(*status); } #else