aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 048d130..ecd116d 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -31,6 +31,10 @@
#include <sys/mman.h>
#endif
+#ifndef MAP_FAILED
+#define MAP_FAILED -1
+#endif
+
/* Stategy: