Commit e713f4bf authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent 1ab07662
...@@ -1133,13 +1133,9 @@ sub _generate_config_h($) { ...@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment