X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fgenerate_buildtest.pl;h=0a9d879eb12a9d307a176db7c6a4fcdb925a23c3;hp=7921021e45e28e87ca0770ed8319c13ba09ce8c8;hb=5cdad22f3e6ed5077b6c06dc2ac4edcea7bc0bb4;hpb=bffb149054cb326c8b7aeb65995e445c5f890e6a diff --git a/test/generate_buildtest.pl b/test/generate_buildtest.pl index 7921021e45..0a9d879eb1 100644 --- a/test/generate_buildtest.pl +++ b/test/generate_buildtest.pl @@ -11,6 +11,7 @@ use warnings; # First argument is name; my $name = shift @ARGV; +my $name_uc = uc $name; # All other arguments are ignored for now print <<"_____"; @@ -18,7 +19,13 @@ print <<"_____"; * Generated with test/generate_buildtest.pl, to check that such a simple * program builds. */ -#include +#include +#ifndef OPENSSL_NO_STDIO +# include +#endif +#ifndef OPENSSL_NO_${name_uc} +# include +#endif int main() {