wine/loader preloader.c
Mike McCormack
mike at codeweavers.com
Sat Jun 26 08:25:08 CDT 2004
Michael Stefaniuc wrote:
> +#ifdef AT_SYSINFO_EHDR
> NAME(AT_SYSINFO_EHDR),
> +#endif
I think a better fix is to define it if it's missing.
Mike
ChangeLog:
* define AT_SYSINFO_EHDR if it's missing
-------------- next part --------------
Index: loader/preloader.c
===================================================================
RCS file: /home/wine/wine/loader/preloader.c,v
retrieving revision 1.7
diff -u -r1.7 preloader.c
--- loader/preloader.c 26 Jun 2004 00:12:20 -0000 1.7
+++ loader/preloader.c 26 Jun 2004 14:21:21 -0000
@@ -122,6 +122,10 @@
#define PT_TLS 7
#endif
+#ifndef AT_SYSINFO_EHDR
+#define AT_SYSINFO_EHDR 33
+#endif
+
static unsigned int page_size, page_mask;
static char *preloader_start, *preloader_end;
More information about the wine-patches
mailing list