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

Skip to content

Commit 2fe3a37

Browse files
committed
Updated for (optional) use of MSL libraries
1 parent a176485 commit 2fe3a37

4 files changed

Lines changed: 22 additions & 1 deletion

File tree

Mac/mwerks/mwerks_nonshared_config.h

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

88
#define USE_GUSI /* Stdio implemented with GUSI */
9+
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
910
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1011
#define USE_QT /* Include quicktime modules in core Python */
1112
#define USE_WASTE /* Include waste module in core Python */
@@ -24,3 +25,7 @@
2425
#ifdef __powerc
2526
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
2627
#endif
28+
#ifdef USE_MSL
29+
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
30+
#include <ansi_prefix.mac.h>
31+
#endif

Mac/mwerks/mwerks_plugin_config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@
33
*/
44

55
#define USE_GUSI /* Stdio implemented with GUSI */
6+
#define USE_MSL /* Use MSL libraries */
7+
#ifdef USE_MSL
8+
#define USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
9+
#include <ansi_prefix.mac.h>
10+
#endif

Mac/mwerks/mwerks_shared_config.h

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

99
#define USE_GUSI /* Stdio implemented with GUSI */
10+
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
1011
/* #define USE_TOOLBOX /* Include toolbox modules in core Python */
1112
/* #define USE_QT /* Include quicktime modules in core Python */
1213
/* #define USE_WASTE /* Include waste module in core Python */
@@ -21,6 +22,11 @@
2122
#define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
2223
#define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */
2324
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
25+
/* #define USE_GDBM /* Include the gdbm module */
2426
#ifdef __powerc
2527
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
2628
#endif
29+
#ifdef USE_MSL
30+
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
31+
#include <ansi_prefix.mac.h>
32+
#endif

Mac/mwerks/mwerks_small_config.h

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

88
#define USE_GUSI /* Stdio implemented with GUSI */
9+
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */
910
#define USE_TOOLBOX /* Include toolbox modules in core Python */
1011
#define USE_QT /* Include quicktime modules in core Python */
1112
/* #define USE_WASTE /* Include waste module in core Python */
@@ -19,8 +20,12 @@
1920
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
2021
/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
2122
/* #define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */
22-
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
23+
#define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
2324
/* #define USE_GDBM /* Include the gdbm module */
2425
#ifdef __powerc
2526
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
2627
#endif
28+
#ifdef USE_MSL
29+
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
30+
#include <ansi_prefix.mac.h>
31+
#endif

0 commit comments

Comments
 (0)