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