Fix Mac build.

This commit is contained in:
Nicholas Hastings 2014-08-16 11:57:24 -04:00
parent b42445bbd4
commit 1af0cde81a

View File

@ -39,6 +39,8 @@
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
#define PAGE_ALIGN_UP(x) ((x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) #define PAGE_ALIGN_UP(x) ((x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
#elif defined __APPLE__
#include <mach-o/loader.h>
#endif #endif
#if defined _WIN32 #if defined _WIN32