dbghelp: define NT_GNU_BUILD_ID if not available (for DragnoFly BSD)

André Hentschel nerv at dawncrow.de
Sat Jun 2 11:55:43 CDT 2012


---
 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..3678745 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 /* Not available on DragnoFly BSD */
+#endif
+
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
 
 struct elf_info
-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list