This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients JosephArmbruster, amaury.forgeotdarc, christian.heimes, kbk, mark
Date 2007-12-18.02:03:31
SpamBayes Score 0.042797986
Marked as misclassified No
Message-id <47672A70.1030003@cheimes.de>
In-reply-to <4767281F.1010403@cheimes.de>
Content
Christian Heimes wrote:
> Is 0x0500 fine for Windows 2000? Should we add WINVER=0x0500 to the
> Python project files, too?

http://msdn2.microsoft.com/en-us/library/aa383745.aspx

Minimum system required 	Minimum value for _WIN32_WINNT and WINVER
Windows Server 2008 	0x0600
Windows Vista 	0x0600
Windows Server 2003 SP1, Windows XP SP2 	0x0502
Windows Server 2003, Windows XP 	0x0501
Windows 2000 	0x0500

0x0500 is fine for Windows 2000.

Should we add something like this to PC/pyconfig.h to ensure that our
build uses only Win2k compatible features and that the user is using at
least 2k to compile Python?

#ifdef WINVER
#  if WINVER < 0x0400
#    error "Windows 2000 or newer is required"
#  endif
#  define WINVER 0x0500
#  define _WIN32_WINNT 0x0500
#endif

Christian
History
Date User Action Args
2007-12-18 02:03:33christian.heimessetspambayes_score: 0.042798 -> 0.042797986
recipients: + christian.heimes, kbk, amaury.forgeotdarc, mark, JosephArmbruster
2007-12-18 02:03:33christian.heimeslinkissue1601 messages
2007-12-18 02:03:32christian.heimescreate