Skip to content

Commit 1c5ddc8

Browse files
committed
[MSHTML] Improve a reactos hack
Don't define a dll-import function.
1 parent d6eebaa commit 1c5ddc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dll/win32/mshtml/omnavigator.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020

2121
#ifdef __REACTOS__
2222
/* HACK This is a Vista+ API */
23-
static INT WINAPI LCIDToLocaleName( LCID lcid, LPWSTR name, INT count, DWORD flags )
23+
static INT WINAPI LCIDToLocaleName_( LCID lcid, LPWSTR name, INT count, DWORD flags )
2424
{
2525
if (flags) FIXME( "unsupported flags %x\n", flags );
2626

2727
return GetLocaleInfoW( lcid, LOCALE_SNAME | LOCALE_NOUSEROVERRIDE, name, count );
2828
}
29+
#define LCIDToLocaleName LCIDToLocaleName_
2930
#endif
3031

3132
typedef struct HTMLPluginsCollection HTMLPluginsCollection;

0 commit comments

Comments
 (0)