Fix compile of programs/winedbg/elf.c on NetBSD 1.6
yh at metroweb.co.za
Mon Feb 23 14:20:03 CST 2004
> seems like i misread some of the ELF specs. Your fix is right (sorry for
> the noise). BTW, you could also remove the use of STN_UNDEF in elf.c
> while you're at it.
Not to worry, I am now more confused than ever :-).
By the way, what is STN_UNDEF for ?
Changelog: Use SHN_UNDEF instead of STN_UNDEF to specify undefined
--- programs/winedbg/elf.c Sat Feb 14 19:55:30 2004
+++ programs/winedbg/elf.c Mon Feb 23 22:09:35 2004
@@ -110,7 +110,7 @@
if (ELF32_ST_TYPE(symp->st_info) == STT_SECTION ||
- symp->st_shndx == STN_UNDEF)
+ symp->st_shndx == SHN_UNDEF)
More information about the wine-devel