mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[INCLUDE/WINE] Don't use DECLSPEC_IMPORT in shlwapi.h (#9034)
This fixes wscript.exe crashing on .wsf files because of delay-loaded shlwapi, the bug was introduced in 6762703 (PR #8419)
This commit is contained in:
@@ -39,6 +39,16 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#if defined(__GNUC__) && !defined(_SHLWAPI_)
|
||||
# undef WINSHLWAPI
|
||||
# define WINSHLWAPI /* FIXME: HACK: CORE-6504 */
|
||||
#endif
|
||||
#ifndef __MSABI_LONG
|
||||
# define __MSABI_LONG(x) x ## l
|
||||
#endif
|
||||
#endif // __REACTOS__
|
||||
|
||||
#ifndef NO_SHLWAPI_HTTP
|
||||
|
||||
WINSHLWAPI HRESULT WINAPI GetAcceptLanguagesA(char *buffer, DWORD *buff_len);
|
||||
@@ -47,11 +57,6 @@ WINSHLWAPI HRESULT WINAPI GetAcceptLanguagesW(WCHAR *buffer, DWORD *buff_len);
|
||||
|
||||
#endif /* NO_SHLWAPI_HTTP */
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#ifndef __MSABI_LONG
|
||||
# define __MSABI_LONG(x) x ## l
|
||||
#endif
|
||||
#endif // __REACTOS__
|
||||
#ifndef NO_SHLWAPI_REG
|
||||
|
||||
/* Registry functions */
|
||||
|
||||
Reference in New Issue
Block a user