Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a7af40

Browse files
author
Trent Mick
committed
Use suggested workaround for PyOS_CheckStack causing failure of test_[s]re.py
on Win64. This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516
1 parent 48fba73 commit 0a7af40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/pythonrun.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(char *);
8888
to a 8k margin. */
8989
#define PYOS_STACK_MARGIN 2048
9090

91-
#if defined(WIN32) && defined(_MSC_VER)
91+
#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER)
9292
/* Enable stack checking under Microsoft C */
9393
#define USE_STACKCHECK
9494
#endif

0 commit comments

Comments
 (0)