aboutsummaryrefslogtreecommitdiff
path: root/m4/intdiv0.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/intdiv0.m4')
-rw-r--r--m4/intdiv0.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4
index 744b99ea..c1034c76 100644
--- a/m4/intdiv0.m4
+++ b/m4/intdiv0.m4
@@ -1,5 +1,5 @@
1# intdiv0.m4 serial 6 (gettext-0.18.2) 1# intdiv0.m4 serial 7 (gettext-0.20.2)
2dnl Copyright (C) 2002, 2007-2008, 2010-2016 Free Software Foundation, Inc. 2dnl Copyright (C) 2002, 2007-2008, 2010-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -31,8 +31,11 @@ changequote([,])dnl
31 if test -z "$gt_cv_int_divbyzero_sigfpe"; then 31 if test -z "$gt_cv_int_divbyzero_sigfpe"; then
32 AC_RUN_IFELSE( 32 AC_RUN_IFELSE(
33 [AC_LANG_SOURCE([[ 33 [AC_LANG_SOURCE([[
34#include <stdlib.h> 34#include <stdlib.h> /* for exit() */
35#include <signal.h> 35#include <signal.h>
36#if !(defined _WIN32 && !defined __CYGWIN__)
37#include <unistd.h> /* for _exit() */
38#endif
36 39
37static void 40static void
38sigfpe_handler (int sig) 41sigfpe_handler (int sig)