mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Modified for GUSI
This commit is contained in:
parent
b852b74c71
commit
c743c8d166
5 changed files with 76 additions and 6 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue