projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe216c
)
Use MAP_ANON if MAP_ANONYMOUS is not defined
author
David Schleef
<ds@david-schleefs-macbook-pro-2.local>
Thu, 16 Sep 2010 02:58:42 +0000
(19:58 -0700)
committer
David Schleef
<ds@schleef.org>
Thu, 16 Sep 2010 03:01:50 +0000
(20:01 -0700)
orc/orccodemem.c
patch
|
blob
|
history
diff --git
a/orc/orccodemem.c
b/orc/orccodemem.c
index
b704ecf
..
eee7f2f
100644
(file)
--- a/
orc/orccodemem.c
+++ b/
orc/orccodemem.c
@@
-230,6
+230,10
@@
orc_code_region_allocate_codemem_dual_map (OrcCodeRegion *region,
return TRUE;
}
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
int
orc_code_region_allocate_codemem_anon_map (OrcCodeRegion *region)
{