From 78873a29ee594888a4d3a33b71fc6d6b4849dcbe Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 23 Sep 2011 21:54:43 -0700 Subject: [PATCH] sigprocmask: move #include directive * lib/sigprocmask.c: Move '#include "msvc-inval.h"' to the Windows-specific section, so that the Emacs source need not contain msvc-inval.h. --- ChangeLog | 7 +++++++ lib/sigprocmask.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c8a7a0a4..2c7766965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-23 Paul Eggert + + sigprocmask: move #include directive + * lib/sigprocmask.c: Move '#include "msvc-inval.h"' to the + Windows-specific section, so that the Emacs source need not + contain msvc-inval.h. + 2011-09-23 Bruno Haible read: Support for MSVC 9. diff --git a/lib/sigprocmask.c b/lib/sigprocmask.c index f1adc54e7..a9aff4761 100644 --- a/lib/sigprocmask.c +++ b/lib/sigprocmask.c @@ -24,8 +24,6 @@ #include #include -#include "msvc-inval.h" - /* We assume that a platform without POSIX signal blocking functions also does not have the POSIX sigaction() function, only the signal() function. We also assume signal() has SysV semantics, @@ -61,6 +59,8 @@ typedef void (*handler_t) (int); #if HAVE_MSVC_INVALID_PARAMETER_HANDLER +# include "msvc-inval.h" + static inline handler_t signal_nothrow (int sig, handler_t handler) { -- 2.11.0