]> granicus.if.org Git - python/commitdiff
- Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 20 Feb 1997 15:25:49 +0000 (15:25 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 20 Feb 1997 15:25:49 +0000 (15:25 +0000)
  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.

Mac/mwerks/mwerks_nonshared_config.h
Mac/mwerks/mwerks_shared_config.h
Mac/mwerks/mwerks_small_config.h

index 33a70f94c87ce196654a921875363601561e436b..b71b3ad82bfa466743713f9bf13d2e5a853f0adb 100644 (file)
@@ -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
index 8d6db02b1390d5a02f7ec20a0254977f5db150c5..313a6f696196c72cafdb7fc3005831bda3b906d2 100644 (file)
@@ -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
index aa3c791a83d0675305de4d6e4dd67b10b2ca4e57..26378ee034934a4e3ce77909c708869b97693ead 100644 (file)
@@ -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