OSDN Git Service

import nethack-3.6.0
[jnethack/source.git] / include / mac-term.h
1 /* NetHack 3.6  mac-term.h      $NHDT-Date: 1432512775 2015/05/25 00:12:55 $  $NHDT-Branch: master $:$NHDT-Revision: 1.8 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 2003. */
3 /* NetHack may be freely redistributed.  See license for details. */
4
5 /*      Compiler prefix file for the MacOS X Terminal.app port.
6  *
7  *      IMPORTANT: This file is intended only as a compiler prefix
8  *      file and must NEVER be included by other source (.c or .h)
9  *      files.
10  *
11  *      Usage for MacOS X Project Builder:
12  *              Project menu -> Edit Active Target '_target_' ->
13  *              target settings dialog -> Settings -> Simple View ->
14  *              GCC Compiler Settings ->
15  *              set "Prefix Header" to include/mac-term.h
16  *
17  *      Usage for Metrowerks CodeWarrior:
18  *              Edit menu -> _target_ Settings -> Language Settings ->
19  *              C/C++ Language ->
20  *              set "Prefix File" to include/mac-term.h
21  */
22
23 /* Stuff needed for the core of NetHack */
24 #undef MAC
25 #define UNIX
26 #define BSD
27 #define __FreeBSD__ /* Darwin is based on FreeBSD */
28 #define GCC_WARN
29
30 /* May already be defined by CodeWarrior as 0 or 1 */
31 #ifdef TARGET_API_MAC_CARBON
32 #undef TARGET_API_MAC_CARBON
33 #endif
34 #define TARGET_API_MAC_CARBON 0 /* Not Carbon */