[SDK] Fix hack for GCC, so that it works on GCC x86 and GCC x64
authorHervé Poussineau <hpoussin@reactos.org>
Tue, 29 Dec 2020 18:15:21 +0000 (19:15 +0100)
committerHervé Poussineau <hpoussin@reactos.org>
Tue, 5 Jan 2021 13:19:45 +0000 (14:19 +0100)
sdk/include/psdk/delayimp.h

index da87b53..266e920 100644 (file)
@@ -3,7 +3,7 @@
 
 #ifdef __GNUC__
 /* Hack, for bug in ld.  Will be removed soon.  */
-#define __ImageBase _image_base__
+#define __ImageBase __MINGW_LSYMBOL(_image_base__)
 #endif
 
 #if defined(__cplusplus)