Attempt at an Apple PAL.
Totally untested, but now we have macOS CI we can test there...
This commit is contained in:
committed by
David Chisnall
parent
aab4de7bc9
commit
e371edf11e
@@ -33,6 +33,7 @@ namespace snmalloc
|
||||
|
||||
// If simultating OE, then we need the underlying platform
|
||||
#if !defined(OPEN_ENCLAVE) || defined(OPEN_ENCLAVE_SIMULATION)
|
||||
# include "pal_apple.h"
|
||||
# include "pal_free_bsd_kernel.h"
|
||||
# include "pal_freebsd.h"
|
||||
# include "pal_linux.h"
|
||||
@@ -47,6 +48,8 @@ namespace snmalloc
|
||||
using DefaultPal =
|
||||
# if defined(_WIN32)
|
||||
PALWindows;
|
||||
# elif defined(__APPLE__)
|
||||
PALApple;
|
||||
# elif defined(__linux__)
|
||||
PALLinux;
|
||||
# elif defined(FreeBSD_KERNEL)
|
||||
|
||||
Reference in New Issue
Block a user