]> granicus.if.org Git - nethack/commitdiff
Mac Terminal port tuneup
authorkmhugo <kmhugo>
Tue, 2 Sep 2003 16:06:53 +0000 (16:06 +0000)
committerkmhugo <kmhugo>
Tue, 2 Sep 2003 16:06:53 +0000 (16:06 +0000)
Submit the last of the changes that were needed to compile the
MacOS X Terminal port.

include/mac-term.h

index f083c3ec6fde338781227aa9787d1791223766ed..f87afa847580d51979fe05dbefe752d1c183e5cb 100644 (file)
  *             set "Prefix File" to include/mac-term.h
  */
 
+/* Stuff needed for the core of NetHack */
 #undef MAC
 #define UNIX
 #define BSD
+#define __FreeBSD__    /* Darwin is based on FreeBSD */
+#define GCC_WARN
 
 /* May already be defined by CodeWarrior as 0 or 1 */
 #ifdef TARGET_API_MAC_CARBON
 # undef TARGET_API_MAC_CARBON
 #endif
-#define TARGET_API_MAC_CARBON 0
-
-#define GCC_WARN
+#define TARGET_API_MAC_CARBON 0        /* Not Carbon */