Mercurial > cpython-lru_cache-weakref
comparison Include/pythonrun.h @ 47666:fcfe10f3dc14 legacy-trunk
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)
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Fri, 13 Jun 2008 00:42:22 +0000 |
| parents | 52294af4b663 |
| children | e38335d4df91 9b358eae532a |
comparison
equal
deleted
inserted
replaced
| 47664:db99f8752710 | 47666:fcfe10f3dc14 |
|---|---|
| 151 /* Stack size, in "pointers" (so we get extra safety margins | 151 /* Stack size, in "pointers" (so we get extra safety margins |
| 152 on 64-bit platforms). On a 32-bit platform, this translates | 152 on 64-bit platforms). On a 32-bit platform, this translates |
| 153 to a 8k margin. */ | 153 to a 8k margin. */ |
| 154 #define PYOS_STACK_MARGIN 2048 | 154 #define PYOS_STACK_MARGIN 2048 |
| 155 | 155 |
| 156 #if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) | 156 #if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1300 |
| 157 /* Enable stack checking under Microsoft C */ | 157 /* Enable stack checking under Microsoft C */ |
| 158 #define USE_STACKCHECK | 158 #define USE_STACKCHECK |
| 159 #endif | 159 #endif |
| 160 | 160 |
| 161 #ifdef USE_STACKCHECK | 161 #ifdef USE_STACKCHECK |
