summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:02:30 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:02:30 (GMT)
commitc743c8d1663c57bf0b16d88c886f2e64ae64a8e5 (patch)
tree6063e002e426cad44d6ef383ac9e7ab01ba716b0 /Mac/Python
parentb852b74c71fd029c4e78bf16c7b910e576027249 (diff)
downloadcpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.zip
cpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.tar.gz
cpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.tar.bz2
Modified for GUSI
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macapplication.c4
-rw-r--r--Mac/Python/macgetcompiler.c11
2 files changed, 10 insertions, 5 deletions
diff --git a/Mac/Python/macapplication.c b/Mac/Python/macapplication.c
index d7b1e2e..5d7bc83 100644
--- a/Mac/Python/macapplication.c
+++ b/Mac/Python/macapplication.c
@@ -31,8 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern void PyMac_InitApplication();
main() {
-#if defined(__MWERKS__) && defined(USE_TK)
- PyTk_InitGUSI();
+#if defined(USE_GUSI)
+ GUSIDefaultSetup();
#endif
#if defined(__MWERKS__) && defined(__CFM68K__)
printf("Hello, world!\n");
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c
index 67399d8..d93172b 100644
--- a/Mac/Python/macgetcompiler.c
+++ b/Mac/Python/macgetcompiler.c
@@ -5,13 +5,18 @@
#endif
#ifdef __MWERKS__
+#ifdef USE_GUSI
+#define HASGUSI " w/GUSI"
+#else
+#define HASGUSI ""
+#endif
#ifdef __powerc
-#define COMPILER " [CW PPC]"
+#define COMPILER " [CW PPC" HASGUSI "]"
#else
#ifdef __CFM68K__
-#define COMPILER " [CW CFM68K]"
+#define COMPILER " [CW CFM68K" HASGUSI "]"
#else
-#define COMPILER " [CW 68K]"
+#define COMPILER " [CW 68K" HASGUSI "]"
#endif
#endif
#endif