diff options
author | Andi Kleen <ak@linux.intel.com> | 2011-10-17 19:47:12 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2011-10-17 19:47:12 +0000 |
commit | 1eca213e3f5ee0be63a7befbde35d2c7e1ad6fb7 (patch) | |
tree | cdecd1affb76761a09cde5853b659fc78aeb2ef4 /gcc/ggc-page.c | |
parent | 44729eb72ba83a06359b3166350493ee87503a4c (diff) | |
download | gcc-1eca213e3f5ee0be63a7befbde35d2c7e1ad6fb7.zip gcc-1eca213e3f5ee0be63a7befbde35d2c7e1ad6fb7.tar.gz gcc-1eca213e3f5ee0be63a7befbde35d2c7e1ad6fb7.tar.bz2 |
ggc-page.c (USING_MADVISE): Adjust ifdef to check for USING_MMAP.
2011-10-17 Andi Kleen <ak@linux.intel.com>
* ggc-page.c (USING_MADVISE): Adjust ifdef to check for
USING_MMAP.
From-SVN: r180107
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r-- | gcc/ggc-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 9b35291..2da99db 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -50,7 +50,7 @@ along with GCC; see the file COPYING3. If not see #define USING_MALLOC_PAGE_GROUPS #endif -#if defined(HAVE_MADVISE) && defined(MADV_DONTNEED) +#if defined(HAVE_MADVISE) && defined(MADV_DONTNEED) && defined(USING_MMAP) # define USING_MADVISE #endif |