forked from enlightenment/terminology
terminology: fix build of terminology on MacOS X.
This commit is contained in:
parent
3fcaad12ed
commit
4b23dc8816
|
@ -5,6 +5,12 @@
|
|||
#include "lz4/lz4.h"
|
||||
#include <sys/mman.h>
|
||||
|
||||
#if defined (__MacOSX__) || (defined (__MACH__) && defined (__APPLE__))
|
||||
# ifndef MAP_ANONYMOUS
|
||||
# define MAP_ANONYMOUS MAP_ANON
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define MEM_PAGE_SIZE 4096
|
||||
#define MEM_ALLOC_ALIGN 16
|
||||
#define MEM_BLOCK_PAGES 32
|
||||
|
|
Loading…
Reference in New Issue