OSDN Git Service

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