Mercurial > hg > octave-nkf > gnulib-hg
changeset 15764:f19a42ecd35b
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 23 Sep 2011 21:54:43 -0700 |
parents | 05e615abe919 |
children | 1090350f29b0 |
files | ChangeLog lib/sigprocmask.c |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-23 Paul Eggert <eggert@cs.ucla.edu> + + 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 <bruno@clisp.org> read: Support for MSVC 9.
--- a/lib/sigprocmask.c +++ b/lib/sigprocmask.c @@ -24,8 +24,6 @@ #include <stdint.h> #include <stdlib.h> -#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) {