[Python-bugs-list] [ python-Bugs-418296 ] WinMain.c should use WIN32_LEAN_AND_MEAN

noreply@sourceforge.net noreply@sourceforge.net
Mon, 23 Apr 2001 22:19:59 -0700


Bugs item #418296, was updated on 2001-04-23 10:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418296&group_id=5470

Category: Windows
Group: Platform-specific
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Kevin Rodgers (krodgers)
>Assigned to: Mark Hammond (mhammond)
Summary: WinMain.c should use WIN32_LEAN_AND_MEAN

Initial Comment:
WinMain.c defines WINDOWS_LEAN_AND_MEAN prior to
including windows.h.  In VC++ 6.0, this is incorrect;
it should be WIN32_LEAN_AND_MEAN.  I don't have access
to VC++ 5.0, so I don't know if this is something that
changed between VC++ versions or not.

----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2001-04-23 22:19

Message:
Logged In: YES 
user_id=31435

Wow!  I found no evidence that WINDOWS_LEAN_AND_MEAN has 
ever meant anything to MS, and gobs of evidence that it 
should have been WIN32_LEAN_AND_MEAN all along.  Thanks!

Checked in as

Misc/ACKS new revision: 1.96
PC/WinMain.c new revision: 1.7

Marked as Fixed but left Open, and assigned to MarkH in 
case we're both missing something subtle here:  Mark, if 
you agree with the change, just mark this Closed.  Else 
feel encouraged to scream at me.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=418296&group_id=5470