This commit was manufactured by cvs2svn to create tag 'r234c1'.
[python/dscho.git] / Mac / mwerks / mwerks_nscarbon_config.h
blob675f56a0b235a527d569d4bb84c41ca864c65657
1 /*
2 ** Configuration file for standalone Carbon Python.
3 **
4 ** Note: enabling the switches below is not enough to enable the
5 ** specific features, you may also need different sets of sources.
6 */
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 */
12 #define USE_GUSI
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 */
26 #define XML_NS 1
27 #define XML_DTD 1
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 */
33 #endif
34 #define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
36 #ifdef USE_MSL
37 #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
38 #include <ansi_prefix.mac.h>
39 #endif
40 /* Missing declarations. Should these go to pyport.h? */
41 #ifdef USE_GUSI2
42 #include <stdio.h>
43 extern int fileno(FILE *);
44 #endif
45 #ifndef Py_DEBUG
46 #define NDEBUG
47 #endif