Commit ad7a4fb9 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix msvcmaker so the generated testlist.c files include stdarg.h.

Add comments pointing out the relation between msvcmaker and make_ctests.
parent f3eec54a
...@@ -20,9 +20,12 @@ ...@@ -20,9 +20,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# ***** Keep in sync with tools/winapi/msvcmaker:_generate_testlist_c *****
cat <<EOF cat <<EOF
/* Automatically generated file; DO NOT EDIT!! */ /* Automatically generated file; DO NOT EDIT!! */
/* stdarg.h is needed for Winelib */
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -1142,6 +1142,7 @@ if ($options->winetest) { ...@@ -1142,6 +1142,7 @@ if ($options->winetest) {
} }
} }
# ***** Keep in sync with tools/make_ctests *****
sub _generate_testlist_c { sub _generate_testlist_c {
local *OUT = shift; local *OUT = shift;
...@@ -1149,6 +1150,8 @@ sub _generate_testlist_c { ...@@ -1149,6 +1150,8 @@ sub _generate_testlist_c {
print OUT "/* Automatically generated file; DO NOT EDIT!! */\n"; print OUT "/* Automatically generated file; DO NOT EDIT!! */\n";
print OUT "\n"; print OUT "\n";
print OUT "/* stdarg.h is needed for Winelib */\n";
print OUT "#include <stdarg.h>\n";
print OUT "#include <stdio.h>\n"; print OUT "#include <stdio.h>\n";
print OUT "#include <stdlib.h>\n"; print OUT "#include <stdlib.h>\n";
print OUT "#include \"windef.h\"\n"; print OUT "#include \"windef.h\"\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment