1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Remove long-dead support for platforms without sig_atomic_t.

C89 requires <signal.h> to define sig_atomic_t, and there is no evidence
in the buildfarm that any supported platforms don't comply.  Remove the
configure test to stop wasting build cycles on a purely historical issue.
(Once upon a time, we cared about supporting C89-compliant compilers on
machines with pre-C89 system headers, but that use-case has been dead for
quite a few years.)

I have some other fixes planned in this area, but let's start with this
to see if the buildfarm produces any surprising results.
This commit is contained in:
Tom Lane
2015-08-31 01:36:46 -04:00
parent 794e2558be
commit 0f19d0f12f
5 changed files with 0 additions and 29 deletions

View File

@ -334,11 +334,6 @@ typedef unsigned PG_INT128_TYPE uint128;
#define HAVE_INT64_TIMESTAMP
#endif
/* sig_atomic_t is required by ANSI C, but may be missing on old platforms */
#ifndef HAVE_SIG_ATOMIC_T
typedef int sig_atomic_t;
#endif
/*
* Size
* Size of any memory resident object, as returned by sizeof.

View File

@ -449,9 +449,6 @@
/* Define to 1 if you have sigsetjmp(). */
#undef HAVE_SIGSETJMP
/* Define to 1 if the system has the type `sig_atomic_t'. */
#undef HAVE_SIG_ATOMIC_T
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

View File

@ -322,9 +322,6 @@
/* Define to 1 if you have sigsetjmp(). */
/* #undef HAVE_SIGSETJMP */
/* Define to 1 if the system has the type `sig_atomic_t'. */
#define HAVE_SIG_ATOMIC_T 1
/* Define to 1 if you have the `snprintf' function. */
/* #undef HAVE_SNPRINTF */