X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..b25be06635768807f8f693286fa73bb2297bb06c:/icuSources/common/locmap.h diff --git a/icuSources/common/locmap.h b/icuSources/common/locmap.h index e1a5b379..7db06070 100644 --- a/icuSources/common/locmap.h +++ b/icuSources/common/locmap.h @@ -1,16 +1,12 @@ /* ****************************************************************************** * -* Copyright (C) 1996-2003, International Business Machines +* Copyright (C) 1996-2004, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** -*/ -/* -*============================================================================ * * File locmap.h : Locale Mapping Classes -* * * * Created by: Helena Shih @@ -25,21 +21,17 @@ *============================================================================ */ -/* include this first so that we are sure to get WIN32 defined */ -#include "unicode/utypes.h" - #ifndef LOCMAP_H #define LOCMAP_H -U_CAPI const char* U_EXPORT2 -uprv_defaultCodePageForLocale(const char *locale); +#include "unicode/utypes.h" -#ifdef WIN32 #define LANGUAGE_LCID(hostID) (uint16_t)(0x03FF & hostID) U_CAPI const char *uprv_convertToPosix(uint32_t hostid, UErrorCode* status); -U_CAPI uint32_t uprv_convertToLCID(const char* posixID, UErrorCode* status); -#endif /* WIN32 */ +/* Don't call this function directly. Use uloc_getLCID instead. */ +U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status); #endif /* LOCMAP_H */ +