summaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-04 17:20:22 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-04 17:20:22 +0000
commit980052a9801f32fad49fa55839a0ff748adf7c15 (patch)
tree5dcf7fe1d68429aacfe1225763a6f492a238d0e5 /libmudflap/mf-runtime.c
parent458e2bb24b1c9e6c7b0cfe18645122ba6b6b28c8 (diff)
downloadgcc-980052a9801f32fad49fa55839a0ff748adf7c15.tar.gz
* configure.in (LIBMUDFLAPTH): Fix thinko.
* configure.in: Check for more headers. * mf-hooks2.c: Conditionalize on HAVE_SYS_SOCKET_H etc. * mf-runtime.c: In two places conditionalize on SIUSR1 rather than HAVE_SIGNAL as mingw has signal.h but not SIUSR1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82627 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-runtime.c')
-rw-r--r--libmudflap/mf-runtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmudflap/mf-runtime.c b/libmudflap/mf-runtime.c
index 8d5ed8c3665..71890364b72 100644
--- a/libmudflap/mf-runtime.c
+++ b/libmudflap/mf-runtime.c
@@ -296,7 +296,7 @@ options [] =
{"collect-stats",
"collect statistics on mudflap's operation",
set_option, 1, &__mf_opts.collect_stats},
-#if HAVE_SIGNAL
+#ifdef SIGUSR1
{"sigusr1-report",
"print report upon SIGUSR1",
set_option, 1, &__mf_opts.sigusr1_report},
@@ -2354,7 +2354,7 @@ __mf_sigusr1_respond ()
{
static int handler_installed;
-#if HAVE_SIGNAL
+#ifdef SIGUSR1
/* Manage handler */
if (__mf_opts.sigusr1_report && ! handler_installed)
{