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:
parent
f3eec54a66
commit
ad7a4fb9ee
|
@ -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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ***** 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 {
|
||||||
|
|
||||||
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";
|
||||||
|
|
Loading…
Reference in New Issue