comparison admin/CPP-DEFINES @ 97266:80acedef7417

cleanup in s/darwin.h, define DARWIN_OS and use it instead of DARWIN and/or MAC_OSX; also, nsterm.m: small unrelated cleanups
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 04 Aug 2008 14:39:27 +0000
parents f8a5916934ac
children 92e6692c8467
comparison
equal deleted inserted replaced
97265:26b2f138dae9 97266:80acedef7417
12 __GO32__ Compiling the DOS port with DJGPP v1.x (obsolete). 12 __GO32__ Compiling the DOS port with DJGPP v1.x (obsolete).
13 DOS_NT Compiling for either the MS-DOS or native MS-Windows port. 13 DOS_NT Compiling for either the MS-DOS or native MS-Windows port.
14 WINDOWSNT Compiling the native MS-Windows (W32) port. 14 WINDOWSNT Compiling the native MS-Windows (W32) port.
15 __MINGW32__ Compiling the W32 port with the MinGW port of GCC. 15 __MINGW32__ Compiling the W32 port with the MinGW port of GCC.
16 _MSC_VER Compiling the W32 port with the Microsoft C compiler. 16 _MSC_VER Compiling the W32 port with the Microsoft C compiler.
17 USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type instead of the default int. 17 DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h).
18 18
19 ** Distinguishing GUIs ** 19 ** Distinguishing GUIs **
20 20
21 HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars. 21 HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars.
22 HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep. 22 HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep.
23 NS_IMPL_GNUSTEP Compile support for GNUSTEP implementation of NS GUI API. 23 NS_IMPL_GNUSTEP Compile support for GNUSTEP implementation of NS GUI API.
24 NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. 24 NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API.
25 HAVE_X11 Compile support for the X11 GUI. 25 HAVE_X11 Compile support for the X11 GUI.
26 HAVE_X_WINDOWS Compile support for X Window system 26 HAVE_X_WINDOWS Compile support for X Window system
27 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11 27 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
46 ** Compile-time options ** 46 ** Compile-time options **
47 47
48 REL_ALLOC Compile in the relocatable memory allocator ralloc.c. 48 REL_ALLOC Compile in the relocatable memory allocator ralloc.c.
49 SYSTEM_MALLOC Use the system library's malloc. 49 SYSTEM_MALLOC Use the system library's malloc.
50 subprocesses System can use subprocesses (for M-x shell for example). Defined by default, only MSDOS undefines it. 50 subprocesses System can use subprocesses (for M-x shell for example). Defined by default, only MSDOS undefines it.
51 USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type instead of the default int.
51 52
52 ** Replace, the definition is trivial: SWITCH_ENUM_CAST 53 ** Replace, the definition is trivial: SWITCH_ENUM_CAST
53 54
54 ** Defines from src/m/*.h and src/s/*.h. Some of these might not be used in the code anymore, so they can be removed. The HAVE_* definitions are probably handled by autoconf, so it might be possible to just remove them from src/[sm]/*.h. 55 ** Defines from src/m/*.h and src/s/*.h. Some of these might not be used in the code anymore, so they can be removed. The HAVE_* definitions are probably handled by autoconf, so it might be possible to just remove them from src/[sm]/*.h.
55 56