mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
This commit is contained in:
parent
8fd7b0c1a7
commit
c36625b05d
6 changed files with 19 additions and 6 deletions
|
@ -44,6 +44,7 @@ extern void bzero(void *, int);
|
|||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <winsock.h>
|
||||
#else
|
||||
# define SOCKET int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue