diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 45667b2ad3e..75630b7349f 100644 --- a/configure.in +++ b/configure.in @@ -1171,10 +1171,12 @@ AC_DEFINE_UNQUOTED(MAXIMUM_ALIGNOF, $MAX_ALIGNOF, [Define as the maximum alignme # Some platforms predefine the types int8, int16, etc. Only check -# a (hopefully) representative subset. +# a (hopefully) representative subset. We also check for sig_atomic_t, +# which *should* be defined per ANSI C, but is missing on some old platforms. pgac_type_includes="\ #include <stdio.h> +#include <signal.h> #ifdef HAVE_SUPPORTDEFS_H #include <SupportDefs.h> #endif" @@ -1183,6 +1185,7 @@ PGAC_CHECK_TYPE(int8, [], [], [$pgac_type_includes]) PGAC_CHECK_TYPE(uint8, [], [], [$pgac_type_includes]) PGAC_CHECK_TYPE(int64, [], [], [$pgac_type_includes]) PGAC_CHECK_TYPE(uint64, [], [], [$pgac_type_includes]) +PGAC_CHECK_TYPE(sig_atomic_t, [], [], [$pgac_type_includes]) PGAC_FUNC_POSIX_SIGNALS |