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