From b26f3639ed9a26efad77afb7effcce0a93a4b43d Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 22 Mar 2002 06:32:32 +0000 Subject: [PATCH] Enable pymalloc by default in the Windows build. --- PC/pyconfig.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PC/pyconfig.h b/PC/pyconfig.h index b412f7780be..852f354e297 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 */