* OS X doesn’t have MAP_ANONYMOUS, alias it to MAP_ANON.

This commit is contained in:
Sam Hocevar
2007-02-20 18:18:27 +00:00
committed by sam
parent 87e48899ba
commit 657dc0a72f
+4
View File
@@ -60,6 +60,10 @@
# define SIGKILL 9
#endif
#if !defined MAP_ANONYMOUS
# define MAP_ANONYMOUS MAP_ANON
#endif
/* TODO: mremap, maybe brk/sbrk (haha) */
/* Library functions that we divert */