mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[SDK] Fix our Delayload notify hook for MSVC x64
svn path=/trunk/; revision=73003
This commit is contained in:
parent
a62945fc94
commit
9fabe9b420
1 changed files with 7 additions and 0 deletions
|
@ -28,8 +28,15 @@ extern PfnDliHook __pfnDliNotifyHook2Default = NULL;
|
||||||
extern PfnDliHook __pfnDliFailureHook2Default = NULL;
|
extern PfnDliHook __pfnDliFailureHook2Default = NULL;
|
||||||
|
|
||||||
/* Tell the linker to use the fallback symbols */
|
/* Tell the linker to use the fallback symbols */
|
||||||
|
#if defined (_M_IX86)
|
||||||
#pragma comment(linker, "/alternatename:___pfnDliNotifyHook2=___pfnDliNotifyHook2Default")
|
#pragma comment(linker, "/alternatename:___pfnDliNotifyHook2=___pfnDliNotifyHook2Default")
|
||||||
#pragma comment(linker, "/alternatename:___pfnDliFailureHook2=___pfnDliFailureHook2Default")
|
#pragma comment(linker, "/alternatename:___pfnDliFailureHook2=___pfnDliFailureHook2Default")
|
||||||
|
#elif defined (_M_IA64) || defined (_M_AMD64)
|
||||||
|
#pragma comment(linker, "/alternatename:__pfnDliNotifyHook2=__pfnDliNotifyHook2Default")
|
||||||
|
#pragma comment(linker, "/alternatename:__pfnDliFailureHook2=__pfnDliFailureHook2Default")
|
||||||
|
#else
|
||||||
|
#error Unsupported platform, please find the correct decoration for your arch!
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue