diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-07-14 22:14:19 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-07-14 22:14:19 (GMT) |
commit | 7a1f91709bf825964e47d751ca84e90e7502a936 (patch) | |
tree | e4c09bfb12c3713c04d528dcb0e67d30645d57a9 /Objects/fileobject.c | |
parent | a81d220625ae5a157c3bdc72298939b56d2a6faa (diff) | |
download | cpython-7a1f91709bf825964e47d751ca84e90e7502a936.zip cpython-7a1f91709bf825964e47d751ca84e90e7502a936.tar.gz cpython-7a1f91709bf825964e47d751ca84e90e7502a936.tar.bz2 |
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.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index a42502b..0b9bab8 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -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 |