diff --git a/include/config1.h b/include/config1.h index a74b09bf8..55da5ced3 100644 --- a/include/config1.h +++ b/include/config1.h @@ -33,7 +33,11 @@ /* * 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 #endif diff --git a/src/eat.c b/src/eat.c index 976e53925..3b07630f8 100644 --- a/src/eat.c +++ b/src/eat.c @@ -1768,7 +1768,7 @@ struct obj *otmp; } } else #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) { pline("Delicious! Must be a Macintosh!"); } else