| 
									
										
										
										
											2001-01-14 23:02:32 +00:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2002-06-23 22:09:45 +00:00
										 |  |  | ** Configuration file for dynamically loaded Carbon PythonCore, | 
					
						
							|  |  |  | ** interpreter and extension modules. | 
					
						
							| 
									
										
										
										
											2001-01-14 23:02:32 +00:00
										 |  |  | ** | 
					
						
							|  |  |  | ** Note: enabling the switches below is not enough to enable the | 
					
						
							|  |  |  | ** specific features, you may also need different sets of sources. | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | #define ACCESSOR_CALLS_ARE_FUNCTIONS 1
 | 
					
						
							|  |  |  | #define OPAQUE_TOOLBOX_STRUCTS 1
 | 
					
						
							|  |  |  | #define TARGET_API_MAC_CARBON 1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define USE_GUSI2		/* Stdio implemented with GUSI 2 */
 | 
					
						
							|  |  |  | #define WITH_THREAD		/* Use thread support (needs GUSI 2, not GUSI 1) */
 | 
					
						
							|  |  |  | #define USE_MSL			/* Use Mw Standard Library (as opposed to Plaugher C libraries) */
 | 
					
						
							| 
									
										
										
										
											2001-08-07 13:53:25 +00:00
										 |  |  | /* #define USE_CORE_TOOLBOX	/* Include core toolbox modules (Dlg,Ctl,Menu,Win,Res,Qd) */ | 
					
						
							| 
									
										
										
										
											2001-01-14 23:02:32 +00:00
										 |  |  | /* #define USE_TOOLBOX		/* Include all 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 HAVE_DYNAMIC_LOADING		/* Enable dynamically loaded modules */
 | 
					
						
							|  |  |  | /* #define USE_GDBM		/* Include the gdbm module */ | 
					
						
							|  |  |  | /* #define USE_ZLIB		/* Include the zlib module */ | 
					
						
							| 
									
										
										
										
											2001-05-14 15:00:38 +00:00
										 |  |  | #define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
 | 
					
						
							| 
									
										
										
										
											2001-05-22 22:21:45 +00:00
										 |  |  | #define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */
 | 
					
						
							| 
									
										
										
										
											2001-01-14 23:02:32 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #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 */ | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #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
 | 
					
						
							| 
									
										
										
										
											2001-12-05 22:44:45 +00:00
										 |  |  | #ifndef Py_DEBUG
 | 
					
						
							|  |  |  | #define NDEBUG
 | 
					
						
							|  |  |  | #endif
 |