Christian Heimes added the comment:

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

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1601>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to