2 ** Configuration file for standalone Carbon Python.
4 ** Note: enabling the switches below is not enough to enable the
5 ** specific features, you may also need different sets of sources.
7 #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
8 #define OPAQUE_TOOLBOX_STRUCTS 1
9 #define TARGET_API_MAC_CARBON 1
11 #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_TOOLBOX /* Include toolbox modules in core Python */
16 #define USE_QT /* Include quicktime modules in core Python */
17 #define USE_WASTE /* Include waste module in core Python */
18 /* #define USE_IMG /* Include img modules in core Python */
19 /* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
20 /* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
21 /* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
22 #define USE_GDBM /* Include the gdbm module */
23 #define USE_ZLIB /* Include the zlib module */
24 #define USE_IC /* Include Internet Config module */
25 #define USE_PYEXPAT /* Include Pyexpat module */
28 #define BYTEORDER 4321
29 #define XML_CONTEXT_BYTES 1024
30 #define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
31 #ifndef USE_MSL_MALLOC
32 /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
34 #define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
37 #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
38 #include <ansi_prefix.mac.h>
40 /* Missing declarations. Should these go to pyport.h? */
43 extern int fileno(FILE *);