mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-13 04:58:58 +02:00
stupid macos
This commit is contained in:
parent
7922434bf9
commit
d57dddea0f
3 changed files with 7 additions and 2 deletions
|
|
@ -27,13 +27,17 @@
|
|||
#include <sys/random.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <sys/types.h>
|
||||
#include <sys/random.h>
|
||||
#include <mach/vm_map.h>
|
||||
#include <mach/mach.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
// Not available on iOS for some fucking stupid reason...
|
||||
#if defined(__APPLE__) && TARGET_OS_MAC
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
|
||||
// FreeBSD
|
||||
#ifndef MAP_NORESERVE
|
||||
#define MAP_NORESERVE 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue