This commit is contained in:
Igor Pavlov
2021-07-22 23:00:14 +01:00
committed by Kornel
parent 4a960640a3
commit 585698650f
619 changed files with 34904 additions and 10859 deletions

View File

@@ -85,4 +85,26 @@ inline AString GetOemString(const UString &u)
AString SystemStringToOemString(const CSysString &src);
#endif
#ifdef _WIN32
/* we don't need locale functions in Windows
but we can define ENV_HAVE_LOCALE here for debug purposes */
// #define ENV_HAVE_LOCALE
#else
#define ENV_HAVE_LOCALE
#endif
#ifdef ENV_HAVE_LOCALE
void MY_SetLocale();
const char *GetLocale(void);
#endif
#if !defined(_WIN32) || defined(ENV_HAVE_LOCALE)
bool IsNativeUTF8();
#endif
#ifndef _WIN32
extern bool g_ForceToUTF8;
#endif
#endif