From: Jack Jansen Date: Thu, 20 Feb 1997 15:25:49 +0000 (+0000) Subject: - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it X-Git-Tag: v1.5a1~333 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c;p=thirdparty%2FPython%2Fcpython.git - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it in importdl.c (I had just one crash too many with a static python importing a dynamic module) - On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes. --- diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h index 33a70f94c87c..b71b3ad82bfa 100644 --- a/Mac/mwerks/mwerks_nonshared_config.h +++ b/Mac/mwerks/mwerks_nonshared_config.h @@ -18,5 +18,9 @@ #define MAC_TCL /* This *must* be on if USE_TK is on */ /* #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 USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ #define USE_GDBM /* Include the gdbm module */ +#ifdef __powerc +#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ +#endif diff --git a/Mac/mwerks/mwerks_shared_config.h b/Mac/mwerks/mwerks_shared_config.h index 8d6db02b1390..313a6f696196 100644 --- a/Mac/mwerks/mwerks_shared_config.h +++ b/Mac/mwerks/mwerks_shared_config.h @@ -19,4 +19,8 @@ /* #define MAC_TCL /* This *must* be on if USE_TK is on */ #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 USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #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 diff --git a/Mac/mwerks/mwerks_small_config.h b/Mac/mwerks/mwerks_small_config.h index aa3c791a83d0..26378ee03493 100644 --- a/Mac/mwerks/mwerks_small_config.h +++ b/Mac/mwerks/mwerks_small_config.h @@ -18,4 +18,9 @@ /* #define MAC_TCL /* This *must* be on if USE_TK is on */ /* #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 USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ +/* #define USE_GDBM /* Include the gdbm module */ +#ifdef __powerc +#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ +#endif