summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-02-20 15:25:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-02-20 15:25:49 (GMT)
commit0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c (patch)
treeaf9dc56112f57e6d60c7dad2f1b439f4ddea9e56 /Mac
parent7e9440408127990b796c4a325cc0c0ee27a1fe5e (diff)
downloadcpython-0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c.zip
cpython-0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c.tar.gz
cpython-0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c.tar.bz2
- 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.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/mwerks/mwerks_nonshared_config.h4
-rw-r--r--Mac/mwerks/mwerks_shared_config.h4
-rw-r--r--Mac/mwerks/mwerks_small_config.h5
3 files changed, 13 insertions, 0 deletions
diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h
index 33a70f9..b71b3ad 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 8d6db02..313a6f6 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 aa3c791..26378ee 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