diff options
author | Ian Rogers <irogers@google.com> | 2014-06-23 14:07:03 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-06-23 14:07:03 -0700 |
commit | d6b6865cf787be8e4548e018762e72c7d1a40e52 (patch) | |
tree | eb47470092a7a7ecefbf23dd008103a1e74945cc /runtime/mem_map.cc | |
parent | be781e55b86ddd2dacf12b80a26fa9a5612948c3 (diff) | |
download | art-d6b6865cf787be8e4548e018762e72c7d1a40e52.tar.gz art-d6b6865cf787be8e4548e018762e72c7d1a40e52.tar.bz2 art-d6b6865cf787be8e4548e018762e72c7d1a40e52.zip |
Mac doesn't define MAP_ANONYMOUS
Fix mac build.
Change-Id: I607e8fff227259fbf27e468193a705c8c3fc1b59
Diffstat (limited to 'runtime/mem_map.cc')
-rw-r--r-- | runtime/mem_map.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc index 6c1c86765c..8d987dfd9a 100644 --- a/runtime/mem_map.cc +++ b/runtime/mem_map.cc @@ -39,6 +39,10 @@ #endif #endif +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + namespace art { static std::ostream& operator<<( |