summaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-20 12:53:23 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-20 12:53:23 +0000
commitd3b95fd70872ea49c54e076cc0c11ab5f8683b40 (patch)
treedcfd3e2782b40201f5d73674a7c1f33144abefcc /gcc/ggc-page.c
parent9256aeff4573c4b28450b31ae76277016c886a5c (diff)
downloadgcc-d3b95fd70872ea49c54e076cc0c11ab5f8683b40.tar.gz
* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30102 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 24a8e2de2ad..54f762f9533 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -35,6 +35,9 @@
#define MAP_FAILED -1
#endif
+#if !defined (MAP_ANONYMOUS) && defined (MAP_ANON)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
/* Stategy: