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:
Rob Shearman 2008-09-25 16:43:49 +01:00 committed by Alexandre Julliard
parent 1ab076626d
commit e713f4bf4f
1 changed files with 3 additions and 7 deletions

View File

@ -1133,13 +1133,9 @@ sub _generate_config_h($) {
}
my @functions = qw(
_alldiv _allmul _allrem _aulldiv _aullrem
_access _chdir _close _lseek _mkdir _open _pclose _popen _read _rmdir _write _stat
_snprintf _spawnvp _stricmp _strnicmp _vsnprintf _wcsicmp
ecvt fcvt gcvt
memmove spawnvp
strerror
wcslen
_pclose _popen _snprintf _spawnvp _stricmp _strnicmp _strdup
_strtoi64 _strtoui64 _vsnprintf
chsize memmove strdup spawnvp strerror vsnprintf
);
foreach my $function (@functions) {
push @defines, "HAVE_\U$function\E 1";