summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBruce Momjian2001-11-15 16:09:34 +0000
committerBruce Momjian2001-11-15 16:09:34 +0000
commit6c9b11b35e300955587403bc14b8fa0a9ebe458d (patch)
tree8eaabf3f187d808dc68a17eb5416a96db942e7ee /configure.in
parenta6348ae33298ce2d1371e2071bb77b58de0039f0 (diff)
Fix for AIX compile and unsigned/signed typedefs.
Peter E, Tatsuo, Andreas
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cd3bac3cfa..c223ce51b6 100644
--- a/configure.in
+++ b/configure.in
@@ -1169,6 +1169,12 @@ else
fi
AC_DEFINE_UNQUOTED(MAXIMUM_ALIGNOF, $MAX_ALIGNOF, [Define as the maximum alignment requirement of any type])
+# Some platforms predefine the types int8, int16, etc. Only check
+# a (hopefully) representative subset. Don't use AC_CHECK_TYPE, which
+# doesn't work the way we want to.
+AC_CHECK_SIZEOF(int8, 0)
+AC_CHECK_SIZEOF(uint8, 0)
+
PGAC_FUNC_POSIX_SIGNALS