mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
- 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.
This commit is contained in:
parent
7e94404081
commit
0040b4704e
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user