diff options
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 9b352913eb4..2da99db9cf8 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 |