Gerald Pfeifer : dbghelp: Avoid unconditional use of NT_GNU_BUILD_ID.

Alexandre Julliard julliard at winehq.org
Mon Jun 4 13:27:13 CDT 2012


Module: wine
Branch: master
Commit: 6cb7cd1983496216092d011fe00b2fb80db79bad
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6cb7cd1983496216092d011fe00b2fb80db79bad

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Jun  3 15:27:52 2012 +0400

dbghelp: Avoid unconditional use of NT_GNU_BUILD_ID.

---

 dlls/dbghelp/elf_module.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c
index 80352bc..52060e0 100644
--- a/dlls/dbghelp/elf_module.c
+++ b/dlls/dbghelp/elf_module.c
@@ -56,6 +56,10 @@
 #define ELF_INFO_MODULE         0x0002
 #define ELF_INFO_NAME           0x0004
 
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
 
 struct elf_info




More information about the wine-cvs mailing list