https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1c5ddc893a686148585d1e82c6bfd15f64418361

commit 1c5ddc893a686148585d1e82c6bfd15f64418361
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Thu Oct 17 17:42:27 2024 +0300
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Mon Nov 4 08:42:34 2024 +0200

    [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;

Reply via email to