summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-13 00:42:22 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-13 00:42:22 (GMT)
commita4dd2e20e2302cc41a027cae5d0057dc2dff2ba6 (patch)
treec70e9c1bfc706b80cdd7e9343a13e41136ac99ef /PC/pyconfig.h
parent114f7e5ffff86daef0a9e9802317e7b259c447f9 (diff)
downloadcpython-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 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 98d79ad..93dbc09 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -467,13 +467,6 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
-/* Define to `int' if <sys/types.h> doesn't define. */
-#if _MSC_VER + 0 >= 1300
-/* VC.NET typedefs socklen_t in ws2tcpip.h. */
-#else
-#define socklen_t int
-#endif
-
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1