diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-08 06:41:28 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-08 06:41:28 +0000 |
commit | 605921ec4952418fb7207475f356c1ac2d8eb081 (patch) | |
tree | 88ecf2cfe1c6969a132fe87f02608ce70f8f7757 /gcc/config.in | |
parent | d33902461b8428c70087bebd5746ad8c406a8890 (diff) | |
download | gcc-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.in | 3 |
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 |