2 ** Configuration file for dynamically loaded Carbon PythonCore,
3 ** interpreter and extension modules.
5 ** Note: enabling the switches below is not enough to enable the
6 ** specific features, you may also need different sets of sources.
8 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
9 #define OPAQUE_TOOLBOX_STRUCTS 1
10 #define TARGET_API_MAC_CARBON 1
12 #define USE_GUSI2 /* Stdio implemented with GUSI 2 */
13 #define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
14 #define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
15 /* #define USE_CORE_TOOLBOX /* Include core toolbox modules (Dlg,Ctl,Menu,Win,Res,Qd) */
16 /* #define USE_TOOLBOX /* Include all toolbox modules in core Python */
17 /* #define USE_QT /* Include quicktime modules in core Python */
18 /* #define USE_WASTE /* Include waste module in core Python */
19 /* #define USE_MACSPEECH /* Include macspeech module in core Python */
20 /* #define USE_IMG /* Include img modules in core Python */
21 /* #define USE_MACCTB /* Include ctb module in core Python */
22 /* #define USE_STDWIN /* Include stdwin module in core Python */
23 /* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */
24 /* #define USE_TK /* Include _tkinter module in core Python */
25 /* #define MAC_TCL /* This *must* be on if USE_TK is on */
26 #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
27 #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
28 #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
29 /* #define USE_GDBM /* Include the gdbm module */
30 /* #define USE_ZLIB /* Include the zlib module */
31 #define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
32 #define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */
34 #define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
35 #ifndef USE_MSL_MALLOC
36 /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
40 #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
41 #include <ansi_prefix.mac.h>
43 /* Missing declarations. Should these go to pyport.h? */
46 extern int fileno(FILE *);