mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-26 00:56:45 +00:00
stupid macos
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#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__)
|
||||
@@ -36,6 +35,11 @@
|
||||
#include <orbis/libkernel.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
|
||||
|
||||
Reference in New Issue
Block a user