msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment.
This commit is contained in:
parent
fb4355cb5b
commit
c71d16c3e9
|
@ -1145,6 +1145,13 @@ sub _generate_config_h($) {
|
||||||
push @defines, "HAVE_\U$function\E 1";
|
push @defines, "HAVE_\U$function\E 1";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my @types = qw(
|
||||||
|
long_long off_t size_t
|
||||||
|
);
|
||||||
|
foreach my $type (@types) {
|
||||||
|
push @defines, "HAVE_\U$type\E 1";
|
||||||
|
}
|
||||||
|
|
||||||
foreach my $define (sort(@defines)) {
|
foreach my $define (sort(@defines)) {
|
||||||
print OUT "#define $define\n";
|
print OUT "#define $define\n";
|
||||||
print OUT "\n";
|
print OUT "\n";
|
||||||
|
|
Loading…
Reference in New Issue