[DELAYIMP] Use underscore symbol prefix only on x86
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 16 Aug 2017 16:06:31 +0000 (16:06 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 16 Aug 2017 16:06:31 +0000 (16:06 +0000)
svn path=/trunk/; revision=75573

reactos/sdk/lib/delayimp/delayimp.c

index f173125..4ffcfd8 100644 (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)
+#else
 #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