diff options
Diffstat (limited to 'Mac/Python')
-rw-r--r-- | Mac/Python/macapplication.c | 4 | ||||
-rw-r--r-- | Mac/Python/macgetcompiler.c | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/Mac/Python/macapplication.c b/Mac/Python/macapplication.c index d7b1e2e89d..5d7bc830eb 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 67399d8fcd..d93172b930 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 |