]> granicus.if.org Git - python/commitdiff
Use suggested workaround for PyOS_CheckStack causing failure of test_[s]re.py
authorTrent Mick <trentm@activestate.com>
Wed, 11 Oct 2000 17:18:11 +0000 (17:18 +0000)
committerTrent Mick <trentm@activestate.com>
Wed, 11 Oct 2000 17:18:11 +0000 (17:18 +0000)
on Win64.

This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516

Include/pythonrun.h

index e8f4f96cce040f0e7a21ee88301f520b461ddff1..b963a06af17b00164d1adf625672397429e45e8e 100644 (file)
@@ -88,7 +88,7 @@ extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(char *);
    to a 8k margin. */
 #define PYOS_STACK_MARGIN 2048
 
-#if defined(WIN32) && defined(_MSC_VER)
+#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER)
 /* Enable stack checking under Microsoft C */
 #define USE_STACKCHECK
 #endif