Files
nethack/include/mac-qt.h
kmhugo 6c70ec2799 Mac port prefix files
Support compilation of multiple flavors for the Macintosh:
1.  A Carbon port, text only and backwards-compatible with
    older versions of the MacOS.
2.  A termcap/Unix port for MacOS X only.
3.  A Qt port, tiled and MacOS X only.

The flavor can be selected at compile-time by specifying the
appropriate prefix file for the compiler.
2003-08-26 00:19:58 +00:00

34 lines
969 B
C

/* SCCS Id: @(#)mac-qt.h 3.4 2003/06/01 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 2003. */
/* NetHack may be freely redistributed. See license for details. */
/* Compiler prefix file for the Macintosh Qt port.
*
* IMPORTANT: This file is intended only as a compiler prefix
* file and must NEVER be included by other source (.c or .h)
* files.
*
* Usage for MacOS X Project Builder:
* Project menu -> Edit Active Target '_target_' ->
* target settings dialog -> Settings -> Simple View ->
* GCC Compiler Settings ->
* set "Prefix Header" to include/mac-qt.h
*
* Usage for Metrowerks CodeWarrior:
* Edit menu -> _target_ Settings -> Language Settings ->
* C/C++ Language ->
* set "Prefix File" to include/mac-qt.h
*/
#undef MAC
#define UNIX
#define BSD
/* May already be defined by CodeWarrior as 0 or 1 */
#ifdef TARGET_API_MAC_CARBON
# undef TARGET_API_MAC_CARBON
#endif
#define TARGET_API_MAC_CARBON 0
#define GCC_WARN