mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few
MSDN sample programs use it, apparently in error. The correct name is WIN32_LEAN_AND_MEAN. After switching to the correct name, in two cases more was needed because the code actually relied on things that disappear when WIN32_LEAN_AND_MEAN is defined.
This commit is contained in:
parent
a81d220625
commit
7a1f91709b
4 changed files with 5 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
#define fileno _fileno
|
||||
/* can simulate truncate with Win32 API functions; see file_truncate */
|
||||
#define HAVE_FTRUNCATE
|
||||
#define WINDOWS_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue