Cleanup some arch defines and fix builds.

This commit is contained in:
Mike Pall
2020-06-15 11:23:04 +02:00
parent d333b1a6fe
commit 34e53736c6
8 changed files with 31 additions and 17 deletions

View File

@@ -302,7 +302,7 @@ static void *mmap_probe(size_t size)
#if LJ_ALLOC_MMAP32
#if defined(__sun__)
#if LJ_TARGET_SOLARIS
#define LJ_ALLOC_MMAP32_START ((uintptr_t)0x1000)
#else
#define LJ_ALLOC_MMAP32_START ((uintptr_t)0)