(cal-menu-context-mouse-menu): Add some :keys.
[emacs.git] / admin / CPP-DEFINES
blobc5c9a539da8aa91093f897c7fc60ca5e93ac7dee
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.
4 ** Distinguishing OSes **
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.
8 MAC_OSX         Compiling for Mac OS X.  Not bare Darwin.
9 CYGWIN          Compiling the Cygwin port.
10 __CYGWIN__      Ditto
11 MSDOS           Compiling the MS-DOS port.
12 __MSDOS__       Ditto.
13 __DJGPP__       Major version number of the DJGPP library for the DOS port.
14 __DJGPP_MINOR__ Minor version number of the DJGPP library.
15 __GO32__        Compiling the DOS port with DJGPP v1.x (obsolete).
16 DOS_NT          Compiling for either the MS-DOS or native MS-Windows port.
17 WINDOWSNT       Compiling the native MS-Windows (W32) port.
18 __MINGW32__     Compiling the W32 port with the MinGW port of GCC.
19 _MSC_VER        Compiling the W32 port with the Microsoft C compiler.
20 IRIX6_5         Compiling on Irix-6.5
22 ** Distinguishing GUIs **
24 HAVE_NTGUI      Use the native W32 GUI for windows, frames, menus&scrollbars.
25 HAVE_CARBON     Compile support for the Carbon GUI.  Requires MAC_OS?
26 HAVE_X11        Compile support for the X11 GUI.
27 HAVE_X_WINDOWS  Compile support for X Window system
28 X11             ??  Makefile.in suggests it's equivalent to HAVE_X11
29 USE_LUCID       Use the Lucid toolkit for menus&scrollbars.  Requires HAVE_X11.
30 USE_MOTIF       Use the Motif toolkit for menus&scrollbars.  Requires HAVE_X11.
31 USE_GTK         Use the Gtk   toolkit for menus&scrollbars.  Requires HAVE_X11.
33 ** Frame types **
35 FRAME_TERMCAP_P A tty (character terminal) frame.
36 FRAME_X_P       A frame on X Window system.
37 FRAME_MSDOS_P   An MS-DOS frame (used only by the DOS port).
38 FRAME_MAC_P     A Mac frame.
39 FRAME_W32_P     A frame using native MS-Windows GUI.
40 FRAME_WINDOW_P  A GUI frame (like X, w32, etc.)
42 ** Compile-time options **
43 REL_ALLOC       Compile in the relocatable memory allocator ralloc.c.
44 SYSTEM_MALLOC   Use the system library's malloc.
46 ** Replace, the definition is trivial: SWITCH_ENUM_CAST
48 ** Temporarily put defines from removed files here, check if these macros need to be documented or removed because they are not used anymore.  ** 
50 ADDR_CORRECT
51 ADJUST_TEXTBASE
52 ADJUST_TEXT_SCNHDR_SIZE
53 A_TEXT_OFFSET
54 A_TEXT_SEEK
55 BAUD_CONVERT
56 BROKEN_FIONREAD
57 BROKEN_SIGIO
58 BROKEN_TIOCGETC
59 BROKEN_TIOCGWINSZ
60 BSD4_3
61 BSD4_4
62 BSD_PGRPS
63 BSD_SYSTEM
64 BSTRING
65 CANNOT_DUMP
66 CLASH_DETECTION
67 COFF
68 COFF_BSD_SYMBOLS
69 CRT0_DUMMIES
70 C_DEBUG_SWITCH
71 C_OPTIMIZE_SWITCH
72 C_SWITCH_MACHINE
73 C_SWITCH_SYSTEM
74 DATA_END
75 DATA_SECTION_ALIGNMENT
76 DATA_SEG_BITS
77 DATA_START
78 DEBUG
79 DECLARE_GETPWUID_WITH_UID_T
80 DEFAULT_ENTRY_ADDRESS
81 DOT_GLOBAL_START
82 DUMMIES
83 ELF
84 EXEC_PAGESIZE
85 EXPLICIT_SIGN_EXTEND
86 FIRST_PTY_LETTER
87 FSCALE
88 GC_MARK_STACK
89 GC_SETJMP_WORKS
90 GETPGRP_NO_ARG
91 GNU_MALLOC
92 HAVE_ALLOCA
93 HAVE_CLOSEDIR
94 HAVE_CONFIG_H
95 HAVE_CRTN
96 HAVE_GETTIMEOFDAY
97 HAVE_INET_SOCKETS
98 HAVE_LIBDNET
99 HAVE_LIBINTL
100 HAVE_LIBRESOLV
101 HAVE_PTYS
102 HAVE_SELECT
103 HAVE_SOCKETS
104 HAVE_STRING_H
105 HAVE_SYSVIPC
106 HAVE_SYSV_SIGPAUSE
107 HAVE_SYS_WAIT_H
108 HAVE_TCATTR
109 HAVE_TERMIO
110 HAVE_TERMIOS
111 HAVE_TEXT_START
112 HAVE_UNION_WAIT
113 HAVE_UNISTD_H
114 HAVE_UNIX_DOMAIN
115 HAVE_UTIMES
116 HAVE_WAIT_HEADER
117 HAVE_X11R6
118 HAVE_XSCREENNUMBEROFSCREEN
119 HAVE_X_WINDOWS
120 INHIBIT_X11R6_XIM
121 INTEL386
122 INTERRUPT_INPUT
123 IRIS
124 IRIS_4D
125 KERNEL_FILE
126 LDAV_SYMBOL
127 LD_SWITCH_MACHINE
128 LD_SWITCH_SYSTEM
129 LD_SWITCH_SYSTEM_TEMACS
130 LIBS_DEBUG
131 LIBS_MACHINE
132 LIBS_SYSTEM
133 LIBS_TERMCAP
134 LIBX11_SYSTEM
135 LIBXMU
136 LIB_GCC
137 LIB_MOTIF
138 LIB_STANDARD
139 LIB_X11_LIB
140 LINKER
141 LOAD_AVE_CVT
142 LOAD_AVE_TYPE
143 MACH
144 MAIL_USE_FLOCK
145 MKDIR_PROTOTYPE
146 MOTIF
147 NARROWPROTO
148 NEED_BSDTTY
149 NEED_ERRNO
150 NEED_PTEM_H
151 NEED_SIOCTL
152 NEED_UNISTD_H
153 NLIST_STRUCT
154 NOMULTIPLEJOBS
155 NONSYSTEM_DIR_LIBRARY
156 NOT_C_CODE
157 NO_ABORT
158 NO_ARG_ARRAY
159 NO_REMAP
160 NO_SIOCTL_H
161 NO_SOCK_SIGIO
162 NO_TERMIO
163 NO_UNION_TYPE
164 NSIG
165 NSIG_MINIMUM
166 OBJECTS_MACHINE
167 ORDINARY_LINK
168 O_NDELAY
169 PENDING_OUTPUT_COUNT
170 PERROR
171 PNTR_COMPARISON_TYPE
172 POSIX_SIGNALS
173 PREFER_VSUSP
174 PREFER_VSUSP
175 PTY_ITERATION
176 PTY_NAME_SPRINTF
177 PTY_OPEN
178 PTY_TTY_NAME_SPRINTF
179 PURESIZE
180 READ
181 REL_ALLOC
182 RUN_TIME_REMAP
183 SECTION_ALIGNMENT
184 SEEK
185 SEGMENT_MASK
186 SEGSIZ
187 SETUP_SLAVE_PTY
188 SIGMASKTYPE
189 SIGNALS_VIA_CHARACTERS
190 SIGN_EXTEND_CHAR
191 SIGTYPE
192 START_FILES
193 SVR4
194 SYSTEM_MALLOC
195 SYSTEM_TYPE
196 SYSV_PTYS
197 SYSV_SYSTEM_DIR
198 S_IEXEC
199 S_IFDIR
200 S_IFLNK
201 S_IFMT
202 S_IREAD
203 S_IWRITE
204 TAB3
205 TABDLY
206 TERMCAP
207 TERMINFO
208 TEXT_END
209 TEXT_START
210 THIS_IS_MAKEFILE
211 ULIMIT_BREAK_VALUE
212 UNEXEC
213 USE_MMAP_FOR_BUFFERS
215 USG5
216 USG5_3
217 USG5_4
218 USG_JOBCTRL
219 USG_SHARED_LIBRARIES
220 VIRT_ADDR_VARIES
221 WCOREDUMP
222 WORDS_BIG_ENDIAN
223 WORD_MACHINE
224 X11R5_INHIBIT_I18N
225 XOS_NEEDS_TIME_H
226 X_DEFAULT_FONT
227 _ABIN32
228 _MIPS_SZLONG
229 _POSIX_SOURCE
230 _longjmp
231 _setjmp
232 alloca
233 data_start
234 drem
235 emacs
236 entry
237 etext
238 fatal
239 fchmod
240 getpgrp
241 hp9000s800
242 index
243 jmp_buf
244 longjmp
245 m68000
246 m68k
247 magic
248 mc68000
249 mips
250 prep
252 subprocesses
254 text_start
256 # arch-tag: bc80061a-1168-4911-9766-46aaf2640250