- attempt to fix MSVC build

svn path=/trunk/; revision=57836
This commit is contained in:
Jérôme Gardou 2012-12-09 04:06:25 +00:00
parent 041dd3b70f
commit 16c5f9f124

View file

@ -95,7 +95,7 @@ LCID MSVCRT_locale_to_LCID(const char *locale) DECLSPEC_HIDDEN;
void __init_global_locale();
extern MSVCRT__locale_t global_locale;
#define MSVCRT_locale __get_MSVCRT_locale()
extern inline MSVCRT__locale_t __get_MSVCRT_locale()
FORCEINLINE MSVCRT__locale_t __get_MSVCRT_locale()
{
if(!global_locale)
__init_global_locale();