diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-25 22:02:44 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-25 22:02:44 (GMT) |
commit | e4cd2f28c616ca95ba5a2995a0af5023870d5686 (patch) | |
tree | 1ee230e3e3098b1c3d3b0638f25a03562375cbbe /Mac/mwerks/mwerks_carbon_config.h | |
parent | a9f56e5c541daba51bc791090eca0357cdd09cd1 (diff) | |
download | cpython-e4cd2f28c616ca95ba5a2995a0af5023870d5686.zip cpython-e4cd2f28c616ca95ba5a2995a0af5023870d5686.tar.gz cpython-e4cd2f28c616ca95ba5a2995a0af5023870d5686.tar.bz2 |
Don't use our own malloc any more. It made test_longexp crash due to its optimization to lock blocks into a specific size malloc requests. This loses 15% performance, but that we'll have to live with:-(
Diffstat (limited to 'Mac/mwerks/mwerks_carbon_config.h')
-rw-r--r-- | Mac/mwerks/mwerks_carbon_config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mac/mwerks/mwerks_carbon_config.h b/Mac/mwerks/mwerks_carbon_config.h index b39467e..e886d36 100644 --- a/Mac/mwerks/mwerks_carbon_config.h +++ b/Mac/mwerks/mwerks_carbon_config.h @@ -27,15 +27,19 @@ /* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ /* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ /* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ -/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ /* #define USE_GDBM /* Include the gdbm module */ /* #define USE_ZLIB /* Include the zlib module */ #define USE_UCNHASH /* Include ucnhash module */ #define USE_APPEARANCE /* Enable Appearance support */ -#define USE_MSL_MALLOC /* Use MSL malloc(), not our own. */ + +#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ +#ifndef USE_MSL_MALLOC +/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ #ifdef __powerc #define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ #endif +#endif + #ifdef USE_MSL #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ #include <ansi_prefix.mac.h> |