Gerald Pfeifer : dbghelp: Define NT_GNU_BUILD_ID regardless of whether __ELF__ is defined.

Alexandre Julliard julliard at winehq.org
Mon Mar 30 16:24:24 CDT 2020


Module: wine
Branch: master
Commit: f7a091af4812ef692fb2b1ec835b8146668aec5c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f7a091af4812ef692fb2b1ec835b8146668aec5c

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Mar 28 16:23:58 2020 +0100

dbghelp: Define NT_GNU_BUILD_ID regardless of whether __ELF__ is defined.

Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/image_private.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/dbghelp/image_private.h b/dlls/dbghelp/image_private.h
index 9be6d3ebdc..d3c154b713 100644
--- a/dlls/dbghelp/image_private.h
+++ b/dlls/dbghelp/image_private.h
@@ -52,10 +52,11 @@
 #ifndef SHT_NULL
 #define SHT_NULL        0
 #endif
+#endif
+
 #ifndef NT_GNU_BUILD_ID
 #define NT_GNU_BUILD_ID 3
 #endif
-#endif
 
 /* structure holding information while handling an ELF image
  * allows one by one section mapping for memory savings




More information about the wine-cvs mailing list