Fandom

Wikihack

Source:Mac-carbon.h

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

1.    /*	SCCS Id: @(#)mac-carbon.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.
5.    /*	Compiler prefix file for the Macintosh Carbon 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-carbon.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-carbon.h
21.    */
22.   
23.   #define MAC
24.   #undef UNIX
25.   
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
31.   
32.   #define GCC_WARN

Also on Fandom

Random Wiki