diff options
| author | Eli Zaretskii | 2010-03-20 07:14:01 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-03-20 07:14:01 -0400 |
| commit | f2cdb04ac04fb8f9f92bce11df6e4a020720208b (patch) | |
| tree | 4d231ff66e4145ce8967ed0c4ab71b364d05675f /src/s/gnu.h | |
| parent | 8eef7665fa98baae93da5151c27ca0db4d1d6f5b (diff) | |
| parent | 22e8757456ea6608246d9c81a83f6c5119f2e1fb (diff) | |
| download | emacs-f2cdb04ac04fb8f9f92bce11df6e4a020720208b.tar.gz emacs-f2cdb04ac04fb8f9f92bce11df6e4a020720208b.zip | |
Merge from mainline.
Diffstat (limited to 'src/s/gnu.h')
| -rw-r--r-- | src/s/gnu.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h index b43cd65c40a..bf68cabe051 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -21,27 +21,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | /* Get most of the stuff from bsd-common */ | 21 | /* Get most of the stuff from bsd-common */ |
| 22 | #include "bsd-common.h" | 22 | #include "bsd-common.h" |
| 23 | 23 | ||
| 24 | /* For mem-limits.h. */ | ||
| 25 | #define BSD4_2 | ||
| 26 | |||
| 27 | #undef SYSTEM_TYPE | 24 | #undef SYSTEM_TYPE |
| 28 | #define SYSTEM_TYPE "gnu" | 25 | #define SYSTEM_TYPE "gnu" |
| 29 | 26 | ||
| 30 | #undef NLIST_STRUCT | 27 | #undef NLIST_STRUCT |
| 31 | #undef KERNEL_FILE | ||
| 32 | #undef LDAV_SYMBOL | ||
| 33 | 28 | ||
| 34 | #define SIGNALS_VIA_CHARACTERS | 29 | #define SIGNALS_VIA_CHARACTERS |
| 35 | 30 | ||
| 36 | #define HAVE_TERMIOS | ||
| 37 | #define NO_TERMIO | ||
| 38 | |||
| 39 | #define LIBS_DEBUG | ||
| 40 | |||
| 41 | /* XXX emacs should not expect TAB3 to be defined. */ | ||
| 42 | #define TABDLY OXTABS | ||
| 43 | #define TAB3 OXTABS | ||
| 44 | |||
| 45 | /* Tell Emacs that we are a terminfo based system; disable the use | 31 | /* Tell Emacs that we are a terminfo based system; disable the use |
| 46 | of local termcap. (GNU uses ncurses.) */ | 32 | of local termcap. (GNU uses ncurses.) */ |
| 47 | #ifdef HAVE_LIBNCURSES | 33 | #ifdef HAVE_LIBNCURSES |
| @@ -49,11 +35,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 49 | #define LIBS_TERMCAP -lncurses | 35 | #define LIBS_TERMCAP -lncurses |
| 50 | #endif | 36 | #endif |
| 51 | 37 | ||
| 52 | #define SYSV_SYSTEM_DIR | ||
| 53 | |||
| 54 | /* GNU has POSIX-style pgrp behavior. */ | ||
| 55 | #undef BSD_PGRPS | ||
| 56 | |||
| 57 | /* Use mmap directly for allocating larger buffers. */ | 38 | /* Use mmap directly for allocating larger buffers. */ |
| 58 | #ifdef DOUG_LEA_MALLOC | 39 | #ifdef DOUG_LEA_MALLOC |
| 59 | #undef REL_ALLOC | 40 | #undef REL_ALLOC |
| @@ -63,17 +44,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 63 | #define ORDINARY_LINK | 44 | #define ORDINARY_LINK |
| 64 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) | 45 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) |
| 65 | 46 | ||
| 66 | /* GNU now always uses the ELF format. */ | ||
| 67 | #define UNEXEC unexelf.o | ||
| 68 | |||
| 69 | /* Some losing code fails to include this and then assumes | 47 | /* Some losing code fails to include this and then assumes |
| 70 | that because it is braindead that O_RDONLY==0. */ | 48 | that because it is braindead that O_RDONLY==0. */ |
| 71 | #ifndef NOT_C_CODE | 49 | #ifndef NOT_C_CODE |
| 72 | #include <fcntl.h> | 50 | #include <fcntl.h> |
| 73 | #endif | 51 | #endif |
| 74 | 52 | ||
| 75 | #define NARROWPROTO 1 | ||
| 76 | |||
| 77 | #ifdef emacs | 53 | #ifdef emacs |
| 78 | #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ | 54 | #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ |
| 79 | #if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM) | 55 | #if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM) |