Skip to content

Commit

Permalink
Enable pymalloc by default in the Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-one committed Mar 22, 2002
1 parent 76fffd8 commit b26f363
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions PC/pyconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]> to avoid a GCC 2.91.*
bug that requires structure imports. More recent versions of the
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit b26f363

Please sign in to comment.