comparison admin/CPP-DEFINES @ 87221:9e7453c93f6d

New file.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 10 Dec 2007 17:02:42 +0000
parents
children 44ea0e3a2a27
comparison
equal deleted inserted replaced
87220:655d101f4e6b 87221:9e7453c93f6d
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.
3
4 ** Distinguishing OSes **
5
6 MAC_OS Compiling for some version of Mac OS?
7 MAC_OS8 Compiling for Mac OS version 8. Requires MAC_OS?
8 MAC_OSX Compiling for Mac OS X? Is that also valid for Darwin?
9 MAC_OS_X ?? Apparently only used once in mac.c.
10 CYGWIN Compiling the Cygwin port.
11 MSDOS Compiling the MSDOS port.
12 DOS_NT Compiling for either the MSDOS or W32 port.
13 WINDOWSNT Compiling the W32 port.
14 WINDOWS_NT ?? Only once in dispextern.h
15
16 ** Distinguishing GUIs **
17
18 HAVE_NTGUI Compile support for the W32 GUI.
19 HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
20 HAVE_X11 Compile support for the X11 GUI.
21 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
22 USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
23 USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
24 USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.
25
26 # arch-tag: bc80061a-1168-4911-9766-46aaf2640250