cpython/Mac/mwerks/mwerks_nonshared_config.h

48 lines
2.1 KiB
C
Raw Normal View History

/*
** Configuration file for standalone 68k/ppc Python.
**
** Note: enabling the switches below is not enough to enable the
** specific features, you may also need different sets of sources.
*/
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
#if defined(USE_GUSI1) || defined(USE_GUSI2)
#define USE_GUSI
#endif
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
#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 */
1996-08-23 12:46:12 -03:00
#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 HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
1996-12-23 13:09:51 -04:00
#define USE_GDBM /* Include the gdbm module */
#define USE_ZLIB /* Include the zlib module */
2000-09-14 10:33:01 -03:00
#define USE_IC /* Include Internet Config module */
#define USE_PYEXPAT /* Include Pyexpat module */
1999-12-09 18:48:29 -04:00
#define USE_APPEARANCE /* Enable Appearance support */
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
#ifndef USE_MSL_MALLOC
/* #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
#endif
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
#ifdef USE_MSL
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
/* Missing declarations. Should these go to pyport.h? */
#ifdef USE_GUSI2
#include <stdio.h>
extern int fileno(FILE *);
#endif