MacOS 9 vs MacOS 10 bit
MAC is defined for MacOS 9 but not for 10 (and it shouldn't be). Add a MACOSX define and use it in eat.c to pick up the joke meant for all Mac systems.
This commit is contained in:
+5
-1
@@ -33,7 +33,11 @@
|
|||||||
/*
|
/*
|
||||||
* Mac Stuff.
|
* Mac Stuff.
|
||||||
*/
|
*/
|
||||||
#ifdef macintosh /* Auto-defined symbol for MPW compilers (sc and mrc) */
|
#if defined(__APPLE__) && defined(__MACH__)
|
||||||
|
# define MACOSX
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef macintosh /* Auto-defined symbol for MPW compilers (sc and mrc) */
|
||||||
# define MAC
|
# define MAC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1768,7 +1768,7 @@ struct obj *otmp;
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
#ifdef MAC /* KMH -- Why should Unix have all the fun? */
|
#if defined(MAC) || defined(MACOSX) /* KMH -- Why should Unix have all the fun? */
|
||||||
if (otmp->otyp == APPLE) {
|
if (otmp->otyp == APPLE) {
|
||||||
pline("Delicious! Must be a Macintosh!");
|
pline("Delicious! Must be a Macintosh!");
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user