Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- a/Include/pythonrun.h Fri Jun 13 00:09:47 2008 +0000 +++ b/Include/pythonrun.h Fri Jun 13 00:42:22 2008 +0000 @@ -153,7 +153,7 @@ 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
