Skip to content

Commit

Permalink
fix build on darwin.
Browse files Browse the repository at this point in the history
Change-Id: I655b92f0a09bc4bc1b2b277b24ca24c081b4da94
  • Loading branch information
nickkral committed Apr 27, 2010
1 parent 8e274f3 commit 88f29fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libacc/acc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

#include <sys/mman.h>

#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON
#endif

#if defined(__arm__)
#define DEFAULT_ARM_CODEGEN
#define PROVIDE_ARM_CODEGEN
Expand Down

0 comments on commit 88f29fe

Please sign in to comment.