diff options
| author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-10-22 19:10:20 +0100 |
|---|---|---|
| committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-10-22 19:10:20 +0100 |
| commit | ee765d02fd379f14908409baba40e239224ccd43 (patch) | |
| tree | e61a2fe9971682141672fc1a08390c3bb65527cf /setup.py | |
| parent | b1613b3538b83e9ac03707f09d70c92df386e8e1 (diff) | |
| download | psutil-ee765d02fd379f14908409baba40e239224ccd43.tar.gz | |
revert revision Revision: 6f21cd24ff7c: _WIN32_WINNT and _AVAIL_WINVER_ macros were there for a reason that is make mingw happyrelease-1.1.2
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -108,7 +108,10 @@ if sys.platform.startswith("win32"): 'psutil/arch/mswindows/security.c', ], define_macros=[ - ('PSUTIL_WINVER', get_winver()), + # be nice to mingw, see: + # http://www.mingw.org/wiki/Use_more_recent_defined_functions + ('_WIN32_WINNT', get_winver()), + ('_AVAIL_WINVER_', get_winver()), ], libraries=[ "psapi", "kernel32", "advapi32", "shell32", "netapi32", "iphlpapi", |
