[DELAYIMP] Use underscore symbol prefix only on x86

svn path=/trunk/; revision=75573
This commit is contained in:
Timo Kreuzer 2017-08-16 16:06:31 +00:00
parent 2bb99ee284
commit e7ffae1153

View file

@ -31,14 +31,9 @@ extern PfnDliHook __pfnDliFailureHook2Default = NULL;
#if defined (_M_IX86)
#pragma comment(linker, "/alternatename:___pfnDliNotifyHook2=___pfnDliNotifyHook2Default")
#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")
#elif defined (_M_ARM)
#pragma comment(linker, "/alternatename:__pfnDliNotifyHook2=__pfnDliNotifyHook2Default")
#pragma comment(linker, "/alternatename:__pfnDliFailureHook2=__pfnDliFailureHook2Default")
#else
#error Unsupported platform, please find the correct decoration for your arch!
#pragma comment(linker, "/alternatename:__pfnDliNotifyHook2=__pfnDliNotifyHook2Default")
#pragma comment(linker, "/alternatename:__pfnDliFailureHook2=__pfnDliFailureHook2Default")
#endif
#endif