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

Add comments pointing out the relation between msvcmaker and
make_ctests.
This commit is contained in:
Francois Gouget 2004-07-16 19:14:43 +00:00 committed by Alexandre Julliard
parent f3eec54a66
commit ad7a4fb9ee
2 changed files with 6 additions and 0 deletions

View File

@ -20,9 +20,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ***** Keep in sync with tools/winapi/msvcmaker:_generate_testlist_c *****
cat <<EOF
/* Automatically generated file; DO NOT EDIT!! */
/* stdarg.h is needed for Winelib */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1142,6 +1142,7 @@ if ($options->winetest) {
}
}
# ***** Keep in sync with tools/make_ctests *****
sub _generate_testlist_c {
local *OUT = shift;
@ -1149,6 +1150,8 @@ sub _generate_testlist_c {
print OUT "/* Automatically generated file; DO NOT EDIT!! */\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 <stdlib.h>\n";
print OUT "#include \"windef.h\"\n";