mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -1831,10 +1831,6 @@ AC_DEFINE_UNQUOTED(MAXIMUM_ALIGNOF, $MAX_ALIGNOF, [Define as the maximum alignme
|
||||
AC_CHECK_TYPES([int8, uint8, int64, uint64], [], [],
|
||||
[#include <stdio.h>])
|
||||
|
||||
# We also check for sig_atomic_t, which *should* be defined per ANSI
|
||||
# C, but is missing on some old platforms.
|
||||
AC_CHECK_TYPES(sig_atomic_t, [], [], [#include <signal.h>])
|
||||
|
||||
# Check for extensions offering the integer scalar type __int128.
|
||||
PGAC_TYPE_128BIT_INT
|
||||
|
||||
|
Reference in New Issue
Block a user