X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..cecc3f9394f261e71def48cf396d137687dbd0a7:/icuSources/common/wintz.h diff --git a/icuSources/common/wintz.h b/icuSources/common/wintz.h index 0704953f..7be30eb4 100644 --- a/icuSources/common/wintz.h +++ b/icuSources/common/wintz.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-2007, International Business Machines +* Copyright (C) 2005-2011, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************** * @@ -14,7 +16,9 @@ #include "unicode/utypes.h" -#ifdef U_WINDOWS +// This file contains only desktop windows behavior +// Windows UWP calls Windows::Globalization directly, so this isn't needed there. +#if U_PLATFORM_USES_ONLY_WIN32_API && (U_PLATFORM_HAS_WINUWP_API == 0) /** * \file @@ -26,12 +30,9 @@ U_CDECL_BEGIN typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION; U_CDECL_END -U_CAPI UBool U_EXPORT2 -uprv_getWindowsTimeZoneInfo(TIME_ZONE_INFORMATION *zoneInfo, const UChar *icuid, int32_t length); - U_CFUNC const char* U_EXPORT2 uprv_detectWindowsTimeZone(); -#endif /* #ifdef U_WINDOWS */ +#endif /* U_PLATFORM_USES_ONLY_WIN32_API && (U_PLATFORM_HAS_WINUWP_API == 0) */ #endif /* __WINTZ */