aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-08-01 23:47:17 -0700
committerGlenn Morris2012-08-01 23:47:17 -0700
commit8922df07b2f370debf70424f778073e1ca32e5e3 (patch)
tree85bea8db1a1b6c37fc48f08512a2d0763b231a38
parent6edd2f3de3c3ce416bb9ce672feba68000387d20 (diff)
downloademacs-8922df07b2f370debf70424f778073e1ca32e5e3.tar.gz
emacs-8922df07b2f370debf70424f778073e1ca32e5e3.zip
Misc updates for CPP-DEFINES
-rw-r--r--admin/CPP-DEFINES45
1 files changed, 24 insertions, 21 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index f020a7d3a3f..47453f50467 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -1,10 +1,21 @@
1Here are some of the cpp macros used, together with some short explanation 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. 2of their use. Feel free to add more macros and more categories.
3Most of these are from config.in, so it's probably better to put the
4explanations in that file. Ideally, everything would be defined and
5documented in config.in, and this file would not be necessary.
6
3 7
4** Distinguishing OSes ** 8** Distinguishing OSes **
5 9
10AIX
11_AIX
12BSD4_2
13BSD_SYSTEM
6CYGWIN Compiling the Cygwin port. 14CYGWIN Compiling the Cygwin port.
7__CYGWIN__ Ditto 15__CYGWIN__ Ditto
16GNU_LINUX
17HPUX
18IRIX6_5
8MSDOS Compiling the MS-DOS port. 19MSDOS Compiling the MS-DOS port.
9__MSDOS__ Ditto. 20__MSDOS__ Ditto.
10__DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c. 21__DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c.
@@ -13,6 +24,10 @@ WINDOWSNT Compiling the native MS-Windows (W32) port.
13__MINGW32__ Compiling the W32 port with the MinGW port of GCC. 24__MINGW32__ Compiling the W32 port with the MinGW port of GCC.
14_MSC_VER Compiling the W32 port with the Microsoft C compiler. 25_MSC_VER Compiling the W32 port with the Microsoft C compiler.
15DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). 26DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h).
27SOLARIS2
28USG
29USG5
30USG5_4
16 31
17** Distinguishing GUIs ** 32** Distinguishing GUIs **
18 33
@@ -45,12 +60,12 @@ HAVE_PROCFS The /proc filesystem is supported.
45 60
46REL_ALLOC Compile in the relocatable memory allocator ralloc.c. 61REL_ALLOC Compile in the relocatable memory allocator ralloc.c.
47SYSTEM_MALLOC Use the system library's malloc. 62SYSTEM_MALLOC Use the system library's malloc.
48subprocesses System can use subprocesses (for M-x shell for example). Defined by default, only MSDOS undefines it. 63subprocesses System can use subprocesses (for M-x shell for example).
49DEBUG_LISP_OBJECT_TYPE Define it in lisp.h enable compile time checks on Lisp_Object use. 64 Defined by default, only MSDOS undefines it.
65DEBUG_LISP_OBJECT_TYPE Define it in lisp.h enable compile time checks
66 on Lisp_Object use.
50 67
51** System specific macros, described in detail in src/s/template.h 68** System specific macros
52CLASH_DETECTION
53COFF
54FIRST_PTY_LETTER 69FIRST_PTY_LETTER
55HAVE_PTYS 70HAVE_PTYS
56INTERRUPT_INPUT 71INTERRUPT_INPUT
@@ -59,12 +74,12 @@ SEPCHAR
59SYSTEM_TYPE 74SYSTEM_TYPE
60 75
61** Misc macros 76** Misc macros
62USER_FULL_NAME If defined, overrides the default pw->pw_gecos for getting at the full user name. Only MSDOS overrides the default. 77USER_FULL_NAME If defined, overrides the default pw->pw_gecos for
78getting at the full user name. Only MSDOS overrides the default.
63 79
64** Defines from src/s/*.h. Some of these might not be used in the code anymore, so they can be removed. The HAVE_* definitions are probably handled by autoconf, so it might be possible to just remove them from src/s/*.h. 80** Miscellaneous defines. Some of these might not be used in the code
81anymore, so they can be removed.
65 82
66
67AIX
68AMPERSAND_FULL_NAME 83AMPERSAND_FULL_NAME
69BROKEN_DATAGRAM_SOCKETS 84BROKEN_DATAGRAM_SOCKETS
70BROKEN_FIONREAD 85BROKEN_FIONREAD
@@ -76,8 +91,6 @@ BROKEN_SIGAIO
76BROKEN_SIGIO 91BROKEN_SIGIO
77BROKEN_SIGPOLL 92BROKEN_SIGPOLL
78BROKEN_SIGPTY 93BROKEN_SIGPTY
79BSD4_2
80BSD_SYSTEM
81CLASH_DETECTION 94CLASH_DETECTION
82DATA_SEG_BITS 95DATA_SEG_BITS
83DATA_START 96DATA_START
@@ -100,7 +113,6 @@ GC_MARK_STACK
100GC_SETJMP_WORKS 113GC_SETJMP_WORKS
101GMALLOC_INHIBIT_VALLOC 114GMALLOC_INHIBIT_VALLOC
102GNU_LIBRARY_PENDING_OUTPUT_COUNT 115GNU_LIBRARY_PENDING_OUTPUT_COUNT
103GNU_LINUX
104GNU_MALLOC 116GNU_MALLOC
105HAVE_AIX_SMT_EXP 117HAVE_AIX_SMT_EXP
106HAVE_CBRT 118HAVE_CBRT
@@ -159,20 +171,16 @@ HAVE_UTIME_H
159HAVE_WINDOW_SYSTEM 171HAVE_WINDOW_SYSTEM
160HAVE_WORKING_VFORK 172HAVE_WORKING_VFORK
161HAVE_XRMSETDATABASE 173HAVE_XRMSETDATABASE
162HPUX
163INTERNAL_TERMINAL 174INTERNAL_TERMINAL
164IS_ANY_SEP 175IS_ANY_SEP
165IS_DIRECTORY_SEP 176IS_DIRECTORY_SEP
166LINKER
167LINUX_VERSION_CODE 177LINUX_VERSION_CODE
168LNOFLSH
169LOCALTIME_CACHE 178LOCALTIME_CACHE
170MAIL_USE_FLOCK 179MAIL_USE_FLOCK
171MAIL_USE_LOCKF 180MAIL_USE_LOCKF
172MAIL_USE_POP 181MAIL_USE_POP
173MAIL_USE_SYSTEM_LOCK 182MAIL_USE_SYSTEM_LOCK
174MAXPATHLEN 183MAXPATHLEN
175MIN_PTY_KERNEL_VERSION -- only used on Mac
176MODE_LINE_BINARY_TEXT 184MODE_LINE_BINARY_TEXT
177MUST_UNDEF__STDC__ 185MUST_UNDEF__STDC__
178NLIST_STRUCT 186NLIST_STRUCT
@@ -208,7 +216,6 @@ SIGNALS_VIA_CHARACTERS
208SIGPIPE 216SIGPIPE
209SIGQUIT 217SIGQUIT
210SIGTRAP 218SIGTRAP
211SOLARIS2
212STDC_HEADERS 219STDC_HEADERS
213SYSTEM_PURESIZE_EXTRA 220SYSTEM_PURESIZE_EXTRA
214SYSTEM_MALLOC 221SYSTEM_MALLOC
@@ -223,13 +230,9 @@ ULIMIT_BREAK_VALUE
223UNIX98_PTYS 230UNIX98_PTYS
224USE_CRT_DLL 231USE_CRT_DLL
225USE_TOOLKIT_SCROLL_BARS 232USE_TOOLKIT_SCROLL_BARS
226USG
227USG5
228USG_SUBTTY_WORKS 233USG_SUBTTY_WORKS
229VALBITS 234VALBITS
230XOS_NEEDS_TIME_H 235XOS_NEEDS_TIME_H
231_AIX
232_ARCH_PPC64
233_FILE_OFFSET_BITS 236_FILE_OFFSET_BITS
234_LP64 237_LP64
235_MALLOC_INTERNAL 238_MALLOC_INTERNAL