From: Tim Peters Date: Fri, 22 Mar 2002 06:32:32 +0000 (+0000) Subject: Enable pymalloc by default in the Windows build. X-Git-Tag: v2.3c1~6410 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b26f3639ed9a26efad77afb7effcce0a93a4b43d;p=python Enable pymalloc by default in the Windows build. --- diff --git a/PC/pyconfig.h b/PC/pyconfig.h index b412f7780b..852f354e29 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -193,7 +193,7 @@ typedef int pid_t; /* egcs/gnu-win32 defines __GNUC__ and _WIN32 */ #if defined(__GNUC__) && defined(_WIN32) -/* XXX These defines are likely incomplete, but should be easy to fix. +/* XXX These defines are likely incomplete, but should be easy to fix. They should be complete enough to build extension modules. */ /* Suggested by Rene Liebscher to avoid a GCC 2.91.* bug that requires structure imports. More recent versions of the @@ -239,13 +239,13 @@ you must define MS_NO_COREDLL (do not test this macro) */ #endif #define HAVE_LONG_LONG 1 -#define LONG_LONG long long +#define LONG_LONG long long #endif /* GNUC */ /* lcc-win32 defines __LCC__ */ #if defined(__LCC__) -/* XXX These defines are likely incomplete, but should be easy to fix. +/* XXX These defines are likely incomplete, but should be easy to fix. They should be complete enough to build extension modules. */ #define NT /* NT is obsolete - please use MS_WIN32 instead */ @@ -506,6 +506,9 @@ typedef int pid_t; /* Define if you want cycle garbage collection */ #define WITH_CYCLE_GC 1 +/* Use Python's own small-block memory-allocator. */ +#define WITH_PYMALLOC 1 + /* Define if you have clock. */ /* #define HAVE_CLOCK */