bsd build fix

This commit is contained in:
Flyinghead 2021-08-02 12:05:24 +02:00
parent 3fa97b5ce7
commit 789fd21bb7
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
#include <sanitizer/msan_interface.h>
#endif
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#define sys_mmap mmap
#define sys_munmap munmap
#define MAP_ANONYMOUS MAP_ANON