From: Kim F. Storm Date: Sat, 24 Jun 2006 22:55:08 +0000 (+0000) Subject: (SIGNALS_VIA_CHARACTERS): Define for Linux kernel X-Git-Tag: emacs-pretest-22.0.90~1839 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=85a71b3757471b356d4f495a3b4164588c19bf6a;p=emacs.git (SIGNALS_VIA_CHARACTERS): Define for Linux kernel version 2.4 and later. --- diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 4ef3db9f2ea..5d247a1c9c8 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -52,6 +52,9 @@ Boston, MA 02110-1301, USA. */ #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 @@ Boston, MA 02110-1301, USA. */ #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,