annotate admin/CPP-DEFINES @ 87320:80e1a8076c36

* progmodes/cc-vars.el (defcustom-c-stylevar): Eval VAL. (c-comment-continuation-stars): No longer declare with cc-bytecomp-obsolete-var and cc-bytecomp-defvar. (c-block-comment-prefix): Use symbol-value to access c-comment-continuation-stars. * progmodes/cc-mode.el (c-initialize-cc-mode): Use symbol-value to access c-comment-continuation-stars.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Tue, 18 Dec 2007 09:21:07 +0000
parents 44ea0e3a2a27
children 45568b22f6e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87221
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
1 Here are some of the cpp macros used, together with some short explanation
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
2 of their use. Feel free to add more macros and more categories.
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
3
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
4 ** Distinguishing OSes **
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
5
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
6 MAC_OS Compiling for some version of Mac OS?
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
7 MAC_OS8 Compiling for Mac OS version 8. Requires MAC_OS?
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
8 MAC_OSX Compiling for Mac OS X? Is that also valid for Darwin?
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
9 MAC_OS_X ?? Apparently only used once in mac.c.
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
10 CYGWIN Compiling the Cygwin port.
87279
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
11 __CYGWIN__ Ditto
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
12 MSDOS Compiling the MS-DOS port.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
13 __MSDOS__ Ditto.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
14 __DJGPP__ Major version number of the DJGPP library for the DOS port.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
15 __DJGPP_MINOR__ Minor version number of the DJGPP library.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
16 __GO32__ Compiling the DOS port with DJGPP v1.x (obsolete).
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
17 DOS_NT Compiling for either the MS-DOS or native MS-Windows port.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
18 WINDOWSNT Compiling the native MS-Windows (W32) port.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
19 __MINGW32__ Compiling the W32 port with the MinGW port of GCC.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
20 _MSC_VER Compiling the W32 port with the Microsoft C compiler.
87221
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
21
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
22 ** Distinguishing GUIs **
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
23
87279
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
24 HAVE_NTGUI Use the native W32 GUI for windows, frames, menus&scrollbars.
87221
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
25 HAVE_CARBON Compile support for the Carbon GUI. Requires MAC_OS?
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
26 HAVE_X11 Compile support for the X11 GUI.
87279
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
27 HAVE_X_WINDOWS Compile support for X Window system
87221
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
28 X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
29 USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
30 USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
31 USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
32
87279
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
33 ** Frame types **
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
34
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
35 FRAME_TERMCAP_P A tty (character terminal) frame.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
36 FRAME_X_P A frame on X Window system.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
37 FRAME_MSDOS_P An MS-DOS frame (used only by the DOS port).
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
38 FRAME_MAC_P A Mac frame.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
39 FRAME_W32_P A frame using native MS-Windows GUI.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
40 FRAME_WINDOW_P A GUI frame (like X, w32, etc.)
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
41
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
42 ** Compile-time options **
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
43 REL_ALLOC Compile in the relocatable memory allocator ralloc.c.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
44 SYSTEM_MALLOC Use the system library's malloc.
44ea0e3a2a27 Add more symbols.
Eli Zaretskii <eliz@gnu.org>
parents: 87221
diff changeset
45
87221
9e7453c93f6d New file.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
46 # arch-tag: bc80061a-1168-4911-9766-46aaf2640250