summaryrefslogtreecommitdiffstats
path: root/Include
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 /Include
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 'Include')
-rw-r--r--Include/pythonrun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index c5635ba..b2b3afd 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -153,7 +153,7 @@ PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
to a 8k margin. */
#define PYOS_STACK_MARGIN 2048
-#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER)
+#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1300
/* Enable stack checking under Microsoft C */
#define USE_STACKCHECK
#endif