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

From NetHackWiki
Jump to: navigation, search

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

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

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.

  1. /*	Compiler prefix file for the MacOS X Terminal.app port.
  2. *
  3. *	IMPORTANT: This file is intended only as a compiler prefix
  4. *	file and must NEVER be included by other source (.c or .h)
  5. *	files.
  6. *
  7. *	Usage for MacOS X Project Builder:
  8. *		Project menu -> Edit Active Target '_target_' ->
  9. *		target settings dialog -> Settings -> Simple View ->
  10. *		GCC Compiler Settings ->
  11. *		set "Prefix Header" to include/mac-term.h
  12. *
  13. *	Usage for Metrowerks CodeWarrior:
  14. *		Edit menu -> _target_ Settings -> Language Settings ->
  15. *		C/C++ Language ->
  16. *		set "Prefix File" to include/mac-term.h
  17. */
  18.  
  19. /* Stuff needed for the core of NetHack */
  20. #undef MAC
  21. #define UNIX
  22. #define BSD
  23. #define __FreeBSD__ 	/* Darwin is based on FreeBSD */
  24. #define GCC_WARN
  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 0 	/* Not Carbon */