mac-term.h

Go to the documentation of this file.
00001 /*      SCCS Id: @(#)mac-term.h 3.4     2003/06/01      */
00002 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 2003. */
00003 /* NetHack may be freely redistributed.  See license for details. */
00004 
00005 /*      Compiler prefix file for the MacOS X Terminal.app port.
00006  *
00007  *      IMPORTANT: This file is intended only as a compiler prefix
00008  *      file and must NEVER be included by other source (.c or .h)
00009  *      files.
00010  *
00011  *      Usage for MacOS X Project Builder:
00012  *              Project menu -> Edit Active Target '_target_' ->
00013  *              target settings dialog -> Settings -> Simple View ->
00014  *              GCC Compiler Settings ->
00015  *              set "Prefix Header" to include/mac-term.h
00016  *
00017  *      Usage for Metrowerks CodeWarrior:
00018  *              Edit menu -> _target_ Settings -> Language Settings ->
00019  *              C/C++ Language ->
00020  *              set "Prefix File" to include/mac-term.h
00021  */
00022 
00023 /* Stuff needed for the core of NetHack */
00024 #undef MAC
00025 #define UNIX
00026 #define BSD
00027 #define __FreeBSD__     /* Darwin is based on FreeBSD */
00028 #define GCC_WARN
00029 
00030 /* May already be defined by CodeWarrior as 0 or 1 */
00031 #ifdef TARGET_API_MAC_CARBON
00032 # undef TARGET_API_MAC_CARBON
00033 #endif
00034 #define TARGET_API_MAC_CARBON 0         /* Not Carbon */