NHDT->ANH, in most cases
[aNetHack.git] / include / mac-carbon.h
bloba4d5c70764bd54b2d58f222d20f3a9de4ad6cf55
1 /* NetHack 3.6 mac-carbon.h $ANH-Date: 1432512777 2015/05/25 00:12:57 $ $ANH-Branch: master $:$ANH-Revision: 1.7 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 2003. */
3 /* NetHack may be freely redistributed. See license for details. */
5 /* Compiler prefix file for the Macintosh Carbon port.
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.
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-carbon.h
17 * Usage for Metrowerks CodeWarrior:
18 * Edit menu -> _target_ Settings -> Language Settings ->
19 * C/C++ Language ->
20 * set "Prefix File" to include/mac-carbon.h
23 #define MAC
24 #undef UNIX
26 /* May already be defined by CodeWarrior as 0 or 1 */
27 #ifdef TARGET_API_MAC_CARBON
28 #undef TARGET_API_MAC_CARBON
29 #endif
30 #define TARGET_API_MAC_CARBON 1
32 #define GCC_WARN