00001 /* SCCS Id: @(#)mac-qt.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 Macintosh Qt 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-qt.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-qt.h 00021 */ 00022 00023 #undef MAC 00024 #define UNIX 00025 #define BSD 00026 00027 /* May already be defined by CodeWarrior as 0 or 1 */ 00028 #ifdef TARGET_API_MAC_CARBON 00029 # undef TARGET_API_MAC_CARBON 00030 #endif 00031 #define TARGET_API_MAC_CARBON 0 00032 00033 #define GCC_WARN