Source:NetHack 3.4.3/include/mac-qt.h

From NetHackWiki
Revision as of 23:01, 3 March 2008 by Kernigh bot (talk | contribs) (Mac-qt.h moved to Source:Mac-qt.h: Robot: moved page)
Jump to navigation Jump to search

Below is the full text to include/mac-qt.h from NetHack 3.4.3. To link to a particular line, write [[mac-qt.h#line123]], for example.

1.    /*	SCCS Id: @(#)mac-qt.h	3.4	2003/06/01	*/
2.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 2003. */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

5.    /*	Compiler prefix file for the Macintosh Qt 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-qt.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-qt.h
21.    */
22.   
23.   #undef MAC
24.   #define UNIX
25.   #define BSD
26.   
27.   /* May already be defined by CodeWarrior as 0 or 1 */
28.   #ifdef TARGET_API_MAC_CARBON
29.   # undef TARGET_API_MAC_CARBON
30.   #endif
31.   #define TARGET_API_MAC_CARBON 0
32.   
33.   #define GCC_WARN