Permalink
Browse files

fix build on darwin.

Change-Id: I655b92f0a09bc4bc1b2b277b24ca24c081b4da94
  • Loading branch information...
1 parent 8e274f3 commit 88f29fefa86c9fe32c888c2b161e38b20c478cf5 @nickkral nickkral committed Apr 26, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 libacc/acc.cpp
View
@@ -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

0 comments on commit 88f29fe

Please sign in to comment.