summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 06:41:28 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 06:41:28 +0000
commit605921ec4952418fb7207475f356c1ac2d8eb081 (patch)
tree88ecf2cfe1c6969a132fe87f02608ce70f8f7757 /gcc/config.in
parentd33902461b8428c70087bebd5746ad8c406a8890 (diff)
downloadgcc-605921ec4952418fb7207475f356c1ac2d8eb081.tar.gz
PR pch/9830
* ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h if HAVE_MINCORE is defined. (MAP_FAILED): Define if not defined. (gt_pch_save): Test against MAP_FAILED. (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force the mapping address to the preferred base after checking it is possible to do so. Test against MAP_FAILED. * configure.in: Test for the presence of mincore in libc. * config.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 0bb8e6aa37f..76b29200d46 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -165,6 +165,9 @@
/* Define if you have the mempcpy function. */
#undef HAVE_MEMPCPY
+/* Define if you have the mincore function. */
+#undef HAVE_MINCORE
+
/* Define if you have the mmap function. */
#undef HAVE_MMAP