comparison admin/CPP-DEFINES @ 96675:d45acf0c8d23

merging Emacs.app (NeXTstep port)
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Tue, 15 Jul 2008 18:15:18 +0000
parents 79121a8f01e3
children 185897e3784d
comparison
equal deleted inserted replaced
96674:ff312a846b25 96675:d45acf0c8d23
1 Here are some of the cpp macros used, together with some short explanation 1 Here are some of the cpp macros used, together with some short explanation
2 of their use. Feel free to add more macros and more categories. 2 of their use. Feel free to add more macros and more categories.
3 3
4 ** Distinguishing OSes ** 4 ** Distinguishing OSes **
5 5
6 MAC_OS Compiling for the `mac' window-system.
7 MAC_OS8 Compiling for Mac OS Classic (v8 or v9). No longer supported, all code using it can be removed. 6 MAC_OS8 Compiling for Mac OS Classic (v8 or v9). No longer supported, all code using it can be removed.
8 MAC_OSX Compiling for Mac OS X. Not bare Darwin. 7 MAC_OSX Compiling for Mac OS X. Not bare Darwin.
9 CYGWIN Compiling the Cygwin port. 8 CYGWIN Compiling the Cygwin port.
10 __CYGWIN__ Ditto 9 __CYGWIN__ Ditto
11 MSDOS Compiling the MS-DOS port. 10 MSDOS Compiling the MS-DOS port.
21 USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type instead of the default int. 20 USE_LISP_UNION_TYPE Define it in lisp.h to make Lisp_Object be a union type instead of the default int.
22 21
23 ** Distinguishing GUIs ** 22 ** Distinguishing GUIs **
24 23
25 HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars. 24 HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars.
25 MAC_OS Compiling for the `mac' window-system.
26 HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS? 26 HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
27 HAVE_NS Use the NeXT/OpenStep/Cocoa UI under Mac OS X or GNUstep.
28 NS_IMPL_GNUSTEP Compile support for GNUSTEP implementation of NS GUI API.
29 NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API.
27 HAVE_X11 Compile support for the X11 GUI. 30 HAVE_X11 Compile support for the X11 GUI.
28 HAVE_X_WINDOWS Compile support for X Window system 31 HAVE_X_WINDOWS Compile support for X Window system
29 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11 32 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
30 USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. 33 USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
31 USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. 34 USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.