From 1c5ddc893a686148585d1e82c6bfd15f64418361 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 17 Oct 2024 17:42:27 +0300 Subject: [PATCH] [MSHTML] Improve a reactos hack Don't define a dll-import function. --- dll/win32/mshtml/omnavigator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/win32/mshtml/omnavigator.c b/dll/win32/mshtml/omnavigator.c index 2d34901d06e..c2a256b8b43 100644 --- a/dll/win32/mshtml/omnavigator.c +++ b/dll/win32/mshtml/omnavigator.c @@ -20,12 +20,13 @@ #ifdef __REACTOS__ /* HACK This is a Vista+ API */ -static INT WINAPI LCIDToLocaleName( LCID lcid, LPWSTR name, INT count, DWORD flags ) +static INT WINAPI LCIDToLocaleName_( LCID lcid, LPWSTR name, INT count, DWORD flags ) { if (flags) FIXME( "unsupported flags %x\n", flags ); return GetLocaleInfoW( lcid, LOCALE_SNAME | LOCALE_NOUSEROVERRIDE, name, count ); } +#define LCIDToLocaleName LCIDToLocaleName_ #endif typedef struct HTMLPluginsCollection HTMLPluginsCollection;