diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-13 00:42:22 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-13 00:42:22 (GMT) |
commit | a4dd2e20e2302cc41a027cae5d0057dc2dff2ba6 (patch) | |
tree | c70e9c1bfc706b80cdd7e9343a13e41136ac99ef /Modules/errnomodule.c | |
parent | 114f7e5ffff86daef0a9e9802317e7b259c447f9 (diff) | |
download | cpython-a4dd2e20e2302cc41a027cae5d0057dc2dff2ba6.zip cpython-a4dd2e20e2302cc41a027cae5d0057dc2dff2ba6.tar.gz cpython-a4dd2e20e2302cc41a027cae5d0057dc2dff2ba6.tar.bz2 |
Restore support for Microsoft VC6 compiler.
Some functions in the msvcrt module are skipped,
and socket.ioctl is enabled only when using a more recent Platform SDK.
(and yes, there are still companies that use a 10-years old compiler)
Diffstat (limited to 'Modules/errnomodule.c')
-rw-r--r-- | Modules/errnomodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c index 696d396..642d721 100644 --- a/Modules/errnomodule.c +++ b/Modules/errnomodule.c @@ -5,7 +5,7 @@ /* Windows socket errors (WSA*) */ #ifdef MS_WINDOWS -#include <winsock.h> +#include <windows.h> #endif /* |