aboutsummaryrefslogtreecommitdiffstats
path: root/src/syssignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index c5c749407cc..86135d71215 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -1,5 +1,5 @@
1/* syssignal.h - System-dependent definitions for signals. 1/* syssignal.h - System-dependent definitions for signals.
2 Copyright (C) 1993, 1999, 2001-2011 Free Software Foundation, Inc. 2 Copyright (C) 1993, 1999, 2001-2012 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -18,7 +18,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
18 18
19extern void init_signals (void); 19extern void init_signals (void);
20 20
21#if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS) 21#ifdef HAVE_PTHREAD
22#include <pthread.h> 22#include <pthread.h>
23/* If defined, asynchronous signals delivered to a non-main thread are 23/* If defined, asynchronous signals delivered to a non-main thread are
24 forwarded to the main thread. */ 24 forwarded to the main thread. */
@@ -39,7 +39,7 @@ extern sigset_t empty_mask;
39 39
40/* POSIX pretty much destroys any possibility of writing sigmask as a 40/* POSIX pretty much destroys any possibility of writing sigmask as a
41 macro in standard C. We always define our own version because the 41 macro in standard C. We always define our own version because the
42 predefined macro in Glibc 2.1 is only provided for compatility for old 42 predefined macro in Glibc 2.1 is only provided for compatibility for old
43 programs that use int as signal mask type. */ 43 programs that use int as signal mask type. */
44#undef sigmask 44#undef sigmask
45#ifdef __GNUC__ 45#ifdef __GNUC__