summaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index c5635ba01a..b2b3afdaee 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