mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
0040b4704e
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.
27 lines
1.3 KiB
C
27 lines
1.3 KiB
C
/*
|
|
** Configuration file for dynamically loaded cfm68k/ppc PythonCore,
|
|
** interpreter and Applet.
|
|
**
|
|
** Note: enabling the switches below is not enough to enable the
|
|
** specific features, you may also need different sets of sources.
|
|
*/
|
|
|
|
#define USE_GUSI /* Stdio implemented with GUSI */
|
|
/* #define USE_TOOLBOX /* Include toolbox modules in core Python */
|
|
/* #define USE_QT /* Include quicktime modules in core Python */
|
|
/* #define USE_WASTE /* Include waste module in core Python */
|
|
/* #define USE_MACSPEECH /* Include macspeech module in core Python */
|
|
/* #define USE_IMG /* Include img modules in core Python */
|
|
/* #define USE_MACCTB /* Include ctb module in core Python */
|
|
/* #define USE_STDWIN /* Include stdwin module in core Python */
|
|
/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */
|
|
/* #define USE_TK /* Include _tkinter module in core Python */
|
|
/* #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
|