projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a27e8e
)
[sigmask] (SIGEMPTYMASK): Define to use sigmask.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Jul 1997 19:05:34 +0000
(19:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Jul 1997 19:05:34 +0000
(19:05 +0000)
src/syssignal.h
patch
|
blob
|
history
diff --git
a/src/syssignal.h
b/src/syssignal.h
index 2645d9a82c95cf7357f568efe1a91951f68544f6..23a15c6c1d2960094b127fed13ce5cb6ad387058 100644
(file)
--- a/
src/syssignal.h
+++ b/
src/syssignal.h
@@
-51,7
+51,14
@@
extern sigset_t sys_sigmask ();
#ifndef sigpause
#define sigpause(SIG) sys_sigpause (SIG)
+#else
+/* If sigpause is predefined, with POSIX_SIGNALS,
+ let's assume it needs this kind of argument.
+ This is true for Glibc 2.1. */
+#undef SIGEMPTYMASK
+#define SIGEMPTYMASK sigmask (0)
#endif
+
#define sigblock(SIG) sys_sigblock (SIG)
#define sigunblock(SIG) sys_sigunblock (SIG)
#ifndef sigsetmask