Module: wine Branch: master Commit: e713f4bf4f96b1315bcf5c0de82fe6fec35e05fa URL: http://source.winehq.org/git/wine.git/?a=commit;h=e713f4bf4f96b1315bcf5c0de8...
Author: Rob Shearman robertshearman@gmail.com Date: Thu Sep 25 16:43:49 2008 +0100
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 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 2681117..afc2281 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";