New file.
[bpt/emacs.git] / admin / CPP-DEFINES
CommitLineData
aa5fea59
SM
1Here are some of the cpp macros used, together with some short explanation
2of their use. Feel free to add more macros and more categories.
3
4** Distinguishing OSes **
5
6MAC_OS Compiling for some version of Mac OS?
7MAC_OS8 Compiling for Mac OS version 8. Requires MAC_OS?
8MAC_OSX Compiling for Mac OS X? Is that also valid for Darwin?
9MAC_OS_X ?? Apparently only used once in mac.c.
10CYGWIN Compiling the Cygwin port.
11MSDOS Compiling the MSDOS port.
12DOS_NT Compiling for either the MSDOS or W32 port.
13WINDOWSNT Compiling the W32 port.
14WINDOWS_NT ?? Only once in dispextern.h
15
16** Distinguishing GUIs **
17
18HAVE_NTGUI Compile support for the W32 GUI.
19HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
20HAVE_X11 Compile support for the X11 GUI.
21X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
22USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
23USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
24USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.
25
26# arch-tag: bc80061a-1168-4911-9766-46aaf2640250