summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetcompiler.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-06-04 21:51:36 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-06-04 21:51:36 (GMT)
commitd9f6e92fbf018fd765f232555b4d4e92ec4d7d80 (patch)
tree957f63f48774b91c3bf3b0cd1e9b5d9766d64a84 /Mac/Python/macgetcompiler.c
parent7ce6d074aa331774c9e7198747eb5665ee125881 (diff)
downloadcpython-d9f6e92fbf018fd765f232555b4d4e92ec4d7d80.zip
cpython-d9f6e92fbf018fd765f232555b4d4e92ec4d7d80.tar.gz
cpython-d9f6e92fbf018fd765f232555b4d4e92ec4d7d80.tar.bz2
Removed THINK_C support.
Added a CARBON indicator to the version string.
Diffstat (limited to 'Mac/Python/macgetcompiler.c')
-rw-r--r--Mac/Python/macgetcompiler.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c
index 3f60d05..226fa29 100644
--- a/Mac/Python/macgetcompiler.c
+++ b/Mac/Python/macgetcompiler.c
@@ -33,10 +33,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include "config.h"
-#ifdef THINK_C
-#define COMPILER " [THINK C]"
-#endif
-
#ifdef __MWERKS__
#ifdef USE_GUSI1
#define HASGUSI " w/GUSI1"
@@ -54,13 +50,19 @@ PERFORMANCE OF THIS SOFTWARE.
#define HASTHREAD ""
#endif
+#ifdef TARGET_API_MAC_CARBON
+#define TARGET_API " CARBON"
+#else
+#define TARGET_API ""
+#endif
+
#ifdef __powerc
-#define COMPILER " [CW PPC" HASGUSI HASTHREAD"]"
+#define COMPILER " [CW PPC" TARGET_API HASGUSI HASTHREAD"]"
#else
#ifdef __CFM68K__
-#define COMPILER " [CW CFM68K" HASGUSI HASTHREAD"]"
+#define COMPILER " [CW CFM68K" TARGET_API HASGUSI HASTHREAD"]"
#else
-#define COMPILER " [CW 68K" HASGUSI HASTHREAD"]"
+#define COMPILER " [CW 68K" TARGET_API HASGUSI HASTHREAD"]"
#endif
#endif
#endif