summaryrefslogtreecommitdiffstats
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-06 20:28:30 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-06 20:28:30 +0000
commit1d5a5c71ef2a7d35f40c052d4002b76e69396e1b (patch)
tree04171d340f03dde77ce3b253c2a3774775e78b04 /gcc/configure.ac
parent9bdfd02b76f55a2cd3aaf450d90714e5f1870e26 (diff)
downloadppe42-gcc-1d5a5c71ef2a7d35f40c052d4002b76e69396e1b.tar.gz
ppe42-gcc-1d5a5c71ef2a7d35f40c052d4002b76e69396e1b.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137538 138bc75d-0d04-0410-961f-82ee72b054a4
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 31b448720a2..1e9e8d87b78 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).
OpenPOWER on IntegriCloud