Mercurial > cpython-lru_cache-weakref
comparison Include/pythonrun.h @ 15153:e17d8cd09689 legacy-trunk
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
| author | Trent Mick <trentm@activestate.com> |
|---|---|
| date | Wed, 11 Oct 2000 17:18:11 +0000 |
| parents | 0c303a22d9a4 |
| children | aa844711463a |
comparison
equal
deleted
inserted
replaced
| 15152:ed49a67869e9 | 15153:e17d8cd09689 |
|---|---|
| 86 /* Stack size, in "pointers" (so we get extra safety margins | 86 /* Stack size, in "pointers" (so we get extra safety margins |
| 87 on 64-bit platforms). On a 32-bit platform, this translates | 87 on 64-bit platforms). On a 32-bit platform, this translates |
| 88 to a 8k margin. */ | 88 to a 8k margin. */ |
| 89 #define PYOS_STACK_MARGIN 2048 | 89 #define PYOS_STACK_MARGIN 2048 |
| 90 | 90 |
| 91 #if defined(WIN32) && defined(_MSC_VER) | 91 #if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) |
| 92 /* Enable stack checking under Microsoft C */ | 92 /* Enable stack checking under Microsoft C */ |
| 93 #define USE_STACKCHECK | 93 #define USE_STACKCHECK |
| 94 #endif | 94 #endif |
| 95 | 95 |
| 96 #ifdef USE_STACKCHECK | 96 #ifdef USE_STACKCHECK |
