view admin/CPP-DEFINES @ 87278:153b9f19471f

(WINDOWS_NT): Fix incorrect spelling of WINDOWSNT.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 14 Dec 2007 11:56:30 +0000
parents 9e7453c93f6d
children 44ea0e3a2a27
line wrap: on
line source

Here are some of the cpp macros used, together with some short explanation
of their use.  Feel free to add more macros and more categories.

** Distinguishing OSes **

MAC_OS		Compiling for some version of Mac OS?
MAC_OS8		Compiling for Mac OS version 8.  Requires MAC_OS?
MAC_OSX		Compiling for Mac OS X?  Is that also valid for Darwin?
MAC_OS_X	??  Apparently only used once in mac.c.
CYGWIN		Compiling the Cygwin port.
MSDOS		Compiling the MSDOS port.
DOS_NT		Compiling for either the MSDOS or W32 port.
WINDOWSNT	Compiling the W32 port.
WINDOWS_NT      ??  Only once in dispextern.h

** Distinguishing GUIs **

HAVE_NTGUI	Compile support for the W32 GUI.
HAVE_CARBON	Compile support for the Carbon GUI.  Requires MAC_OS?
HAVE_X11	Compile support for the X11 GUI.
X11		??  Makefile.in suggests it's equivalent to HAVE_X11
USE_LUCID	Use the Lucid toolkit for menus&scrollbars.  Requires HAVE_X11.
USE_MOTIF	Use the Motif toolkit for menus&scrollbars.  Requires HAVE_X11.
USE_GTK		Use the Gtk   toolkit for menus&scrollbars.  Requires HAVE_X11.

# arch-tag: bc80061a-1168-4911-9766-46aaf2640250