aboutsummaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-08-31 01:36:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-08-31 01:36:46 -0400
commit0f19d0f12fa235c6951ff431bd60da594356a1a6 (patch)
tree38f618a68a3eb8a9d2e6330023b22316b1b3969e /src/include/c.h
parent794e2558be670be65a8fdb52b99438a67cd74631 (diff)
downloadpostgresql-0f19d0f12fa235c6951ff431bd60da594356a1a6.tar.gz
postgresql-0f19d0f12fa235c6951ff431bd60da594356a1a6.zip
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.
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/c.h b/src/include/c.h
index b719eb95e14..f5da4676c6f 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -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.