get rid of unused MIN_ALIGN definition

pull/50/head
Daniel Micay 2018-08-29 13:58:58 -04:00
parent 2684a98eab
commit becadc57a5
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ static_assert(sizeof(void *) == 8, "64-bit only");
#define PAGE_MASK ((size_t)(PAGE_SIZE - 1)) #define PAGE_MASK ((size_t)(PAGE_SIZE - 1))
#define PAGE_CEILING(s) (((s) + PAGE_MASK) & ~PAGE_MASK) #define PAGE_CEILING(s) (((s) + PAGE_MASK) & ~PAGE_MASK)
#define MIN_ALIGN 16
#define ALIGNMENT_CEILING(s, alignment) (((s) + (alignment - 1)) & ((~(alignment)) + 1)) #define ALIGNMENT_CEILING(s, alignment) (((s) + (alignment - 1)) & ((~(alignment)) + 1))
static void *allocate_pages(size_t usable_size, size_t guard_size, bool unprotect) { static void *allocate_pages(size_t usable_size, size_t guard_size, bool unprotect) {