msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
Remove all functions for which the HAVE_ define is not used anywhere. Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which are all present in MSVC headers.
This commit is contained in:
parent
1ab076626d
commit
e713f4bf4f
|
@ -1133,13 +1133,9 @@ sub _generate_config_h($) {
|
||||||
}
|
}
|
||||||
|
|
||||||
my @functions = qw(
|
my @functions = qw(
|
||||||
_alldiv _allmul _allrem _aulldiv _aullrem
|
_pclose _popen _snprintf _spawnvp _stricmp _strnicmp _strdup
|
||||||
_access _chdir _close _lseek _mkdir _open _pclose _popen _read _rmdir _write _stat
|
_strtoi64 _strtoui64 _vsnprintf
|
||||||
_snprintf _spawnvp _stricmp _strnicmp _vsnprintf _wcsicmp
|
chsize memmove strdup spawnvp strerror vsnprintf
|
||||||
ecvt fcvt gcvt
|
|
||||||
memmove spawnvp
|
|
||||||
strerror
|
|
||||||
wcslen
|
|
||||||
);
|
);
|
||||||
foreach my $function (@functions) {
|
foreach my $function (@functions) {
|
||||||
push @defines, "HAVE_\U$function\E 1";
|
push @defines, "HAVE_\U$function\E 1";
|
||||||
|
|
Loading…
Reference in New Issue