From 16c5f9f1245ad7bd693e4c323cfdb73163117675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sun, 9 Dec 2012 04:06:25 +0000 Subject: [PATCH] [CRT] - attempt to fix MSVC build svn path=/trunk/; revision=57836 --- reactos/lib/sdk/crt/include/internal/locale.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/sdk/crt/include/internal/locale.h b/reactos/lib/sdk/crt/include/internal/locale.h index ddc0f5f34ba..b879132fde7 100644 --- a/reactos/lib/sdk/crt/include/internal/locale.h +++ b/reactos/lib/sdk/crt/include/internal/locale.h @@ -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();