Define Elf_Symndx if not already defined

Dmitry Timoshkov dmitry at baikal.ru
Mon May 31 09:44:05 CDT 2004


Hello,

this patch is required to compile current Wine CVS under RH 6.2.
That system has only Elf32_Symndx and Elf64_Symndx defined.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Define Elf_Symndx if not already defined.

--- cvs/hq/wine/loader/preloader.c	Sat May 29 05:59:22 2004
+++ wine/loader/preloader.c	Mon May 31 19:39:34 2004
@@ -101,6 +101,10 @@
 #define MAP_NORESERVE 0
 #endif
 
+#ifndef Elf_Symndx
+typedef uint32_t Elf_Symndx;
+#endif
+
 static struct wine_preload_info preload_info[] =
 {
     { (void *)0x00000000, 0x00110000 },  /* DOS area */






More information about the wine-patches mailing list