Files
r2ghidra/subprojects/packagefiles/ghidra-native/patches/0023-Undef-LoadImage-for-windows.patch
T
Adam Satko 2cad988f03 Make ghidra-native a subproject
* Adds zlib attempting to fix Windows builds
2025-06-23 12:00:16 +02:00

16 lines
382 B
Diff

diff --git a/src/decompiler/loadimage.hh b/src/decompiler/loadimage.hh
index 59d4c9a..3557744 100644
--- a/src/decompiler/loadimage.hh
+++ b/src/decompiler/loadimage.hh
@@ -21,6 +21,10 @@
#include "address.hh"
+#ifdef LoadImage
+#undef LoadImage
+#endif
+
/// \brief Exception indicating data was not available
///
/// This exception is thrown when a request for load image