# HG changeset patch # User Kim F. Storm # Date 1151189708 0 # Node ID eb1fe905e1f881e41da539518eec6370a59809fa # Parent 9e62d7b78e513471f7e80ae404157a4664f47c72 (SIGNALS_VIA_CHARACTERS): Define for Linux kernel version 2.4 and later. diff -r 9e62d7b78e51 -r eb1fe905e1f8 src/s/gnu-linux.h --- 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 says it doesn't work well. */ -/* #define SIGNALS_VIA_CHARACTERS */ +#ifdef LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK +#define SIGNALS_VIA_CHARACTERS +#endif /* Rob Malouf says: SYSV IPC is standard a standard part of Linux since version 0.99pl10,