Fixing PAL haiku build similarly to NetBSD.
This commit is contained in:
committed by
Matthew Parkinson
parent
017d4b1a59
commit
74077967a3
@@ -1,6 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(__HAIKU__)
|
||||
# include <cassert>
|
||||
|
||||
namespace snmalloc
|
||||
{
|
||||
template<typename... Args>
|
||||
int getentropy(Args...)
|
||||
{
|
||||
assert(0 && "Unreachable path");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
# include "pal_posix.h"
|
||||
|
||||
# include <sys/mman.h>
|
||||
|
||||
Reference in New Issue
Block a user