aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.org>2008-07-06 20:28:30 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2008-07-06 22:28:30 +0200
commitbba09b5aaca1e4ebaeccb827233b1b4299cbf859 (patch)
tree04171d340f03dde77ce3b253c2a3774775e78b04 /gcc/configure.ac
parentee7d4b57a56be0420460691d7cfc92f5028a6aca (diff)
downloadgcc-bba09b5aaca1e4ebaeccb827233b1b4299cbf859.zip
gcc-bba09b5aaca1e4ebaeccb827233b1b4299cbf859.tar.gz
gcc-bba09b5aaca1e4ebaeccb827233b1b4299cbf859.tar.bz2
configure.ac: Check for caddr_t, define to char * if not defined.
2008-07-06 Andreas Tobler <a.tobler@schweiz.org> * configure.ac: Check for caddr_t, define to char * if not defined. * configure: Regenerate. * ggc-common.c (mmap_gt_pch_get_address): Fix -Wc++-compat warnings. (mmap_gt_pch_use_address): Likewise. * config/host-solaris.c (sol_gt_pch_use_address): Likewise. From-SVN: r137538
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 31b4487..1e9e8d8 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1010,6 +1010,7 @@ int main()
fi
AC_CHECK_TYPE(ssize_t, int)
+AC_CHECK_TYPE(caddr_t, char *)
# Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t).