]> code.delx.au - gnu-emacs/blob - admin/CPP-DEFINES
Remove removed var.
[gnu-emacs] / admin / CPP-DEFINES
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 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
21
22 ** Distinguishing GUIs **
23
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.
32
33 ** Frame types **
34
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.)
41
42 ** Compile-time options **
43 REL_ALLOC Compile in the relocatable memory allocator ralloc.c.
44 SYSTEM_MALLOC Use the system library's malloc.
45
46 ** Replace, the definition is trivial: SWITCH_ENUM_CAST
47
48 ** Temporarily put defines from removed files here, check if these macros need to be documented or removed because they are not used anymore. **
49
50 ADDR_CORRECT
51 ADJUST_TEXT_SCNHDR_SIZE
52 A_TEXT_OFFSET
53 A_TEXT_SEEK
54 BAUD_CONVERT
55 BROKEN_FIONREAD
56 BROKEN_SIGIO
57 BROKEN_TIOCGETC
58 BROKEN_TIOCGWINSZ
59 BSD4_3
60 BSD4_4
61 BSD_PGRPS
62 BSD_SYSTEM
63 BSTRING
64 CANNOT_DUMP
65 CLASH_DETECTION
66 COFF
67 COFF_BSD_SYMBOLS
68 CRT0_DUMMIES
69 C_DEBUG_SWITCH
70 C_SWITCH_MACHINE
71 C_SWITCH_SYSTEM
72 DATA_END
73 DATA_SECTION_ALIGNMENT
74 DATA_SEG_BITS
75 DATA_START
76 DEBUG
77 DECLARE_GETPWUID_WITH_UID_T
78 DEFAULT_ENTRY_ADDRESS
79 DOT_GLOBAL_START
80 DUMMIES
81 ELF
82 EXEC_PAGESIZE
83 EXPLICIT_SIGN_EXTEND
84 FIRST_PTY_LETTER
85 FSCALE
86 GC_MARK_STACK
87 GC_SETJMP_WORKS
88 GETPGRP_NO_ARG
89 GNU_MALLOC
90 HAVE_ALLOCA
91 HAVE_CLOSEDIR
92 HAVE_CONFIG_H
93 HAVE_CRTN
94 HAVE_GETTIMEOFDAY
95 HAVE_INET_SOCKETS
96 HAVE_LIBDNET
97 HAVE_LIBINTL
98 HAVE_LIBRESOLV
99 HAVE_PTYS
100 HAVE_SELECT
101 HAVE_SOCKETS
102 HAVE_STRING_H
103 HAVE_SYSVIPC
104 HAVE_SYSV_SIGPAUSE
105 HAVE_SYS_WAIT_H
106 HAVE_TCATTR
107 HAVE_TERMIO
108 HAVE_TERMIOS
109 HAVE_TEXT_START
110 HAVE_UNION_WAIT
111 HAVE_UNISTD_H
112 HAVE_UTIMES
113 HAVE_WAIT_HEADER
114 HAVE_X11R6
115 HAVE_XSCREENNUMBEROFSCREEN
116 HAVE_X_WINDOWS
117 INHIBIT_X11R6_XIM
118 INTEL386
119 INTERRUPT_INPUT
120 IRIS
121 IRIS_4D
122 KERNEL_FILE
123 LDAV_SYMBOL
124 LD_SWITCH_MACHINE
125 LD_SWITCH_SYSTEM
126 LD_SWITCH_SYSTEM_TEMACS
127 LIBS_DEBUG
128 LIBS_MACHINE
129 LIBS_SYSTEM
130 LIBS_TERMCAP
131 LIBX11_SYSTEM
132 LIBXMU
133 LIB_GCC
134 LIB_MOTIF
135 LIB_STANDARD
136 LIB_X11_LIB
137 LINKER
138 LOAD_AVE_CVT
139 LOAD_AVE_TYPE
140 MACH
141 MAIL_USE_FLOCK
142 MKDIR_PROTOTYPE
143 MOTIF
144 NARROWPROTO
145 NEED_BSDTTY
146 NEED_ERRNO
147 NEED_PTEM_H
148 NEED_SIOCTL
149 NEED_UNISTD_H
150 NLIST_STRUCT
151 NOMULTIPLEJOBS
152 NONSYSTEM_DIR_LIBRARY
153 NOT_C_CODE
154 NO_ABORT
155 NO_ARG_ARRAY
156 NO_REMAP
157 NO_SIOCTL_H
158 NO_SOCK_SIGIO
159 NO_TERMIO
160 NO_UNION_TYPE
161 NSIG
162 NSIG_MINIMUM
163 OBJECTS_MACHINE
164 ORDINARY_LINK
165 O_NDELAY
166 PENDING_OUTPUT_COUNT
167 PERROR
168 PNTR_COMPARISON_TYPE
169 POSIX_SIGNALS
170 PREFER_VSUSP
171 PREFER_VSUSP
172 PTY_ITERATION
173 PTY_NAME_SPRINTF
174 PTY_OPEN
175 PTY_TTY_NAME_SPRINTF
176 PURESIZE
177 READ
178 REL_ALLOC
179 RUN_TIME_REMAP
180 SECTION_ALIGNMENT
181 SEEK
182 SEGMENT_MASK
183 SEGSIZ
184 SETUP_SLAVE_PTY
185 SIGMASKTYPE
186 SIGNALS_VIA_CHARACTERS
187 SIGN_EXTEND_CHAR
188 SIGTYPE
189 START_FILES
190 SVR4
191 SYSTEM_MALLOC
192 SYSTEM_TYPE
193 SYSV_PTYS
194 SYSV_SYSTEM_DIR
195 S_IEXEC
196 S_IFDIR
197 S_IFLNK
198 S_IFMT
199 S_IREAD
200 S_IWRITE
201 TAB3
202 TABDLY
203 TERMCAP
204 TERMINFO
205 TEXT_END
206 TEXT_START
207 THIS_IS_MAKEFILE
208 ULIMIT_BREAK_VALUE
209 UNEXEC
210 USE_MMAP_FOR_BUFFERS
211 USG
212 USG5
213 USG5_4
214 USG_JOBCTRL
215 USG_SHARED_LIBRARIES
216 VIRT_ADDR_VARIES
217 WCOREDUMP
218 WORDS_BIG_ENDIAN
219 X11R5_INHIBIT_I18N
220 XOS_NEEDS_TIME_H
221 X_DEFAULT_FONT
222 _ABIN32
223 _MIPS_SZLONG
224 _POSIX_SOURCE
225 _longjmp
226 _setjmp
227 alloca
228 data_start
229 drem
230 emacs
231 entry
232 etext
233 fatal
234 fchmod
235 getpgrp
236 hp9000s800
237 index
238 jmp_buf
239 longjmp
240 m68000
241 m68k
242 magic
243 mc68000
244 mips
245 prep
246 sel
247 subprocesses
248 sun
249 text_start
250
251 # arch-tag: bc80061a-1168-4911-9766-46aaf2640250