Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 85705e7

Browse files
committed
Got rid of obsolete defines.
1 parent 786681a commit 85705e7

11 files changed

Lines changed: 3 additions & 37 deletions

Mac/mwerks/mwerks_carbon_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
#define OPAQUE_TOOLBOX_STRUCTS 1
99
#define TARGET_API_MAC_CARBON 1
1010

11-
#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
1211
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
13-
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
1412
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1513
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1614
/* #define USE_CORE_TOOLBOX /* Include minimal set of toolbox modules in core Python */
@@ -28,13 +26,11 @@
2826
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
2927
/* #define USE_GDBM /* Include the gdbm module */
3028
/* #define USE_ZLIB /* Include the zlib module */
31-
#define USE_APPEARANCE /* Enable Appearance support */
3229
#define WITH_HOTSHOT /* Enable hotshot profiler */
3330

3431
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3532
#ifndef USE_MSL_MALLOC
3633
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
37-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3834
#endif
3935
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
4036

Mac/mwerks/mwerks_carbonplugin_config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@
77
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
88
#define USE_TOOLBOX_OBJECT_GLUE /* Use glue routines for accessing PyArg_Parse/Py_BuildValue helpers */
99

10-
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
1110
#define USE_GUSI2 /* Stdio implemented with GUSI */
12-
#if defined(USE_GUSI1) || defined(USE_GUSI2)
1311
#define USE_GUSI
14-
#endif
1512
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
1613
#define USE_MSL /* Use MSL libraries */
1714
#ifdef USE_MSL

Mac/mwerks/mwerks_nonshared_config.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
** specific features, you may also need different sets of sources.
66
*/
77

8-
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
98
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
10-
#if defined(USE_GUSI1) || defined(USE_GUSI2)
119
#define USE_GUSI
12-
#endif
1310
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1411
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1512
#define USE_QT /* Include quicktime modules in core Python */
@@ -26,11 +23,9 @@
2623
#define USE_ZLIB /* Include the zlib module */
2724
#define USE_IC /* Include Internet Config module */
2825
#define USE_PYEXPAT /* Include Pyexpat module */
29-
#define USE_APPEARANCE /* Enable Appearance support */
3026
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3127
#ifndef USE_MSL_MALLOC
3228
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
33-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3429
#endif
3530
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
3631

Mac/mwerks/mwerks_nscarbon_config.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
#define OPAQUE_TOOLBOX_STRUCTS 1
99
#define TARGET_API_MAC_CARBON 1
1010

11-
#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
1211
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
13-
#if defined(USE_GUSI1) || defined(USE_GUSI2)
1412
#define USE_GUSI
15-
#endif
1613
/* #define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
1714
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1815
#define USE_TOOLBOX /* Include toolbox modules in core Python */
@@ -30,11 +27,9 @@
3027
#define USE_ZLIB /* Include the zlib module */
3128
#define USE_IC /* Include Internet Config module */
3229
#define USE_PYEXPAT /* Include Pyexpat module */
33-
#define USE_APPEARANCE /* Enable Appearance support */
3430
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3531
#ifndef USE_MSL_MALLOC
3632
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
37-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3833
#endif
3934
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
4035

Mac/mwerks/mwerks_plugin_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
66
#define USE_GUSI2 /* Stdio implemented with GUSI */
7-
#if defined(USE_GUSI1) || defined(USE_GUSI2)
7+
#if defined(USE_GUSI2)
88
#define USE_GUSI
99
#endif
1010
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */

Mac/mwerks/mwerks_shared_config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
** specific features, you may also need different sets of sources.
77
*/
88

9-
/* #define USE_GUSI1 /* Stdio implemented with GUSI */
109
#define USE_GUSI2 /* Stdio implemented with GUSI */
1110
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
1211
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
@@ -26,14 +25,12 @@
2625
#define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
2726
/* #define USE_GDBM /* Include the gdbm module */
2827
/* #define USE_ZLIB /* Include the zlib module */
29-
#define USE_APPEARANCE /* Enable Appearance support */
3028
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
3129
#define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */
3230

3331
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3432
#ifndef USE_MSL_MALLOC
3533
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
36-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3734
#endif
3835

3936
#ifdef USE_MSL

Mac/mwerks/mwerks_shcarbon_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
#define OPAQUE_TOOLBOX_STRUCTS 1
1010
#define TARGET_API_MAC_CARBON 1
1111

12-
#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
1312
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
14-
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
1513
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
1614
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1715
/* #define USE_CORE_TOOLBOX /* Include core toolbox modules (Dlg,Ctl,Menu,Win,Res,Qd) */
@@ -30,14 +28,12 @@
3028
#define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
3129
/* #define USE_GDBM /* Include the gdbm module */
3230
/* #define USE_ZLIB /* Include the zlib module */
33-
#define USE_APPEARANCE /* Enable Appearance support */
3431
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
3532
#define USE_TOOLBOX_OBJECT_GLUE /* Call toolbox object converters indirectly */
3633

3734
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3835
#ifndef USE_MSL_MALLOC
3936
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
40-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
4137
#endif
4238

4339
#ifdef USE_MSL

Mac/mwerks/mwerks_small_config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77

88
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
9-
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
109
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1110
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1211
#define USE_QT /* Include quicktime modules in core Python */
@@ -23,14 +22,12 @@
2322
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
2423
/* #define USE_GDBM /* Include the gdbm module */
2524
/* #define USE_ZLIB /* Include the zlib module */
26-
#define USE_APPEARANCE /* Enable Appearance support */
2725
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
2826
#define WITH_HOTSHOT /* Enable hotshot profiler */
2927

3028
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3129
#ifndef USE_MSL_MALLOC
3230
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
33-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3431
#endif
3532

3633
#ifdef USE_MSL

Mac/mwerks/mwerks_thrcarbonsm_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
#define OPAQUE_TOOLBOX_STRUCTS 1
99
#define TARGET_API_MAC_CARBON 1
1010

11-
#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
1211
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
13-
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
1412
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
1513
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1614
#define USE_TOOLBOX /* Include toolbox modules in core Python */
@@ -29,13 +27,11 @@
2927
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
3028
/* #define USE_GDBM /* Include the gdbm module */
3129
/* #define USE_ZLIB /* Include the zlib module */
32-
#define USE_APPEARANCE /* Enable Appearance support */
3330
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
3431

3532
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3633
#ifndef USE_MSL_MALLOC
3734
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
38-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3935
#endif
4036

4137
#ifdef USE_MSL

Mac/mwerks/mwerks_threadsmall_config.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
*/
77

88
#define USE_GUSI2 /* Stdio implemented with GUSI 2 */
9-
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
10-
#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */
9+
#define WITH_THREAD /* Use thread support */
1110
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1211
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1312
#define USE_QT /* Include quicktime modules in core Python */
@@ -24,13 +23,11 @@
2423
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
2524
/* #define USE_GDBM /* Include the gdbm module */
2625
/* #define USE_ZLIB /* Include the zlib module */
27-
#define USE_APPEARANCE /* Enable Appearance support */
2826
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
2927

3028
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
3129
#ifndef USE_MSL_MALLOC
3230
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
33-
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
3431
#endif
3532

3633
#ifdef USE_MSL

0 commit comments

Comments
 (0)