aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-06-04 10:20:22 -0700
committerPer Bothner <bothner@gcc.gnu.org>2004-06-04 10:20:22 -0700
commitb9d71ce3e4860dd7ae12039eaa05c9731b12a095 (patch)
tree5dcf7fe1d68429aacfe1225763a6f492a238d0e5 /libmudflap/mf-runtime.c
parent14bbffa1d211ad505bc165f762027596b87511f1 (diff)
downloadgcc-b9d71ce3e4860dd7ae12039eaa05c9731b12a095.zip
gcc-b9d71ce3e4860dd7ae12039eaa05c9731b12a095.tar.gz
gcc-b9d71ce3e4860dd7ae12039eaa05c9731b12a095.tar.bz2
configure.in (LIBMUDFLAPTH): Fix thinko.
* 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. From-SVN: r82627
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 8d5ed8c..7189036 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)
{