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

Skip to content

Commit d9f6e92

Browse files
committed
Removed THINK_C support.
Added a CARBON indicator to the version string.
1 parent 7ce6d07 commit d9f6e92

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

Mac/Python/macgetcompiler.c

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ PERFORMANCE OF THIS SOFTWARE.
3333

3434
#include "config.h"
3535

36-
#ifdef THINK_C
37-
#define COMPILER " [THINK C]"
38-
#endif
39-
4036
#ifdef __MWERKS__
4137
#ifdef USE_GUSI1
4238
#define HASGUSI " w/GUSI1"
@@ -54,13 +50,19 @@ PERFORMANCE OF THIS SOFTWARE.
5450
#define HASTHREAD ""
5551
#endif
5652

53+
#ifdef TARGET_API_MAC_CARBON
54+
#define TARGET_API " CARBON"
55+
#else
56+
#define TARGET_API ""
57+
#endif
58+
5759
#ifdef __powerc
58-
#define COMPILER " [CW PPC" HASGUSI HASTHREAD"]"
60+
#define COMPILER " [CW PPC" TARGET_API HASGUSI HASTHREAD"]"
5961
#else
6062
#ifdef __CFM68K__
61-
#define COMPILER " [CW CFM68K" HASGUSI HASTHREAD"]"
63+
#define COMPILER " [CW CFM68K" TARGET_API HASGUSI HASTHREAD"]"
6264
#else
63-
#define COMPILER " [CW 68K" HASGUSI HASTHREAD"]"
65+
#define COMPILER " [CW 68K" TARGET_API HASGUSI HASTHREAD"]"
6466
#endif
6567
#endif
6668
#endif

0 commit comments

Comments
 (0)