X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..f3c0d7a59d99c2a94c6b8822291f0e42be3773c9:/icuSources/test/intltest/winutil.h diff --git a/icuSources/test/intltest/winutil.h b/icuSources/test/intltest/winutil.h index 03a0044a..9cdae026 100644 --- a/icuSources/test/intltest/winutil.h +++ b/icuSources/test/intltest/winutil.h @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************** -* Copyright (C) 2005-2006, International Business Machines +* Copyright (C) 2005-2011, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************** * @@ -14,7 +16,7 @@ #include "unicode/utypes.h" -#ifdef U_WINDOWS +#if U_PLATFORM_HAS_WIN32_API #if !UCONFIG_NO_FORMATTING @@ -29,7 +31,7 @@ public: struct LCIDRecord { int32_t lcid; - const char *localeID; + char *localeID; }; static LCIDRecord *getLocales(int32_t &localeCount); @@ -41,6 +43,6 @@ private: #endif /* #if !UCONFIG_NO_FORMATTING */ -#endif // #ifdef U_WINDOWS +#endif // U_PLATFORM_HAS_WIN32_API #endif // __WINUTIL