Mercurial > emacs
diff src/s/gnu-linux.h @ 71477:eb1fe905e1f8
(SIGNALS_VIA_CHARACTERS): Define for Linux kernel
version 2.4 and later.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Sat, 24 Jun 2006 22:55:08 +0000 |
| parents | 3bd95f4f2941 |
| children | a30f70d64256 |
line wrap: on
line diff
--- a/src/s/gnu-linux.h Sat Jun 24 22:27:12 2006 +0000 +++ b/src/s/gnu-linux.h Sat Jun 24 22:55:08 2006 +0000 @@ -52,6 +52,9 @@ #if LINUX_VERSION_CODE >= 0x20000 #define LINUX_MAP_SHARED_DOES_WORK #endif /* LINUX_VERSION_CODE >= 0x20000 */ +#if LINUX_VERSION_CODE >= 0x20400 +#define LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK +#endif /* LINUX_VERSION_CODE >= 0x20400 */ #endif /* HAVE_LINUX_VERSION_H */ #endif /* emacs */ #endif /* NOT_C_CODE */ @@ -247,9 +250,9 @@ #define C_DEBUG_SWITCH #endif -/* Let's try this out, just in case. - Nah. Rik Faith <faith@cs.unc.edu> says it doesn't work well. */ -/* #define SIGNALS_VIA_CHARACTERS */ +#ifdef LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK +#define SIGNALS_VIA_CHARACTERS +#endif /* Rob Malouf <malouf@csli.stanford.edu> says: SYSV IPC is standard a standard part of Linux since version 0.99pl10,
