[Patch] make_ctests and winsock.h
Pierre d'Herbemont
stegefin at free.fr
Thu Jun 23 16:23:03 CDT 2005
Alexandre,
This fix the winsock.h struct timeval redefinition on Darwin.
Pierre.
ChangeLog:
Change headers to <windows.h> in order to prevent a compilation
failure with generated files on Darwin.
-------------- next part --------------
Index: tools/make_ctests.c
===================================================================
RCS file: /home/wine/wine/tools/make_ctests.c,v
retrieving revision 1.3
diff -u -r1.3 make_ctests.c
--- tools/make_ctests.c 15 Jun 2005 10:22:59 -0000 1.3
+++ tools/make_ctests.c 23 Jun 2005 21:18:42 -0000
@@ -117,12 +117,7 @@
fprintf( out,
"/* Automatically generated file; DO NOT EDIT!! */\n"
"\n"
- "/* stdarg.h is needed for Winelib */\n"
- "#include <stdarg.h>\n"
- "#include <stdio.h>\n"
- "#include <stdlib.h>\n"
- "#include \"windef.h\"\n"
- "#include \"winbase.h\"\n\n"
+ "#include <windows.h>\"\n\n"
"#define STANDALONE\n"
"#include \"wine/test.h\"\n\n" );
More information about the wine-patches
mailing list