From e713f4bf4f96b1315bcf5c0de82fe6fec35e05fa Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 25 Sep 2008 16:43:49 +0100 Subject: [PATCH] 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. --- tools/winapi/msvcmaker | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 268111750b4..afc2281f77c 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -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";