X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ccd3ce49e08b4f0c0e1bcbb34e9055ca4002e21c..07976ae3b816dea4fd541bbba862603d3132eb2c:/src/s/gnu-linux.h diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 3aa2dc16f4..9327423b42 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -29,7 +29,6 @@ along with GNU Emacs. If not, see . */ It sets the Lisp variable system-type. */ #define SYSTEM_TYPE "gnu/linux" /* All the best software is free. */ -#ifndef NOT_C_CODE #ifdef emacs #ifdef HAVE_LINUX_VERSION_H #include @@ -40,7 +39,6 @@ along with GNU Emacs. If not, see . */ #endif /* LINUX_VERSION_CODE >= 0x20400 */ #endif /* HAVE_LINUX_VERSION_H */ #endif /* emacs */ -#endif /* NOT_C_CODE */ #if defined HAVE_GRANTPT #define UNIX98_PTYS @@ -82,22 +80,14 @@ along with GNU Emacs. If not, see . */ #endif /* not HAVE_GRANTPT */ -/* Define HAVE_TERMIOS if the system provides POSIX-style - functions and macros for terminal control. */ -#define HAVE_TERMIOS - /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS #define HAVE_SOCKETS -/* Define this symbol if your system has the functions bcopy, etc. */ -#define BSTRING - /* This is used in list_system_processes. */ #define HAVE_PROCFS 1 - /* Define CLASH_DETECTION if you want lock files to be written so that Emacs can tell instantly when you try to modify a file that someone else has modified in his Emacs. */ @@ -126,18 +116,12 @@ along with GNU Emacs. If not, see . */ #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ ((FILE)->_pptr - (FILE)->_pbase) #endif /* !_IO_STDIO_H && ! __UCLIBC__ */ -#endif /* emacs */ -#ifdef emacs #define INTERRUPT_INPUT -#endif - -#define SYSV_SYSTEM_DIR /* use dirent.h */ +#endif /* emacs */ #define POSIX /* affects getpagesize.h and systty.h */ -#define UNEXEC unexelf.o - /* This is to work around mysterious gcc failures in some system versions. It is unlikely that Emacs changes will work around this problem; therefore, this should remain permanently. */ @@ -147,11 +131,6 @@ along with GNU Emacs. If not, see . */ #define NARROWPROTO 1 -/* Use mmap directly for allocating larger buffers. */ -#ifdef DOUG_LEA_MALLOC -#undef REL_ALLOC -#endif - /* Tell that garbage collector that setjmp is known to save all registers relevant for conservative garbage collection in the jmp_buf. */ /* Not all the architectures are tested, but there are Debian packages