mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
Mapi: Use mmap on Haiku for executable memory vs malloc
* Haiku now has DEP enabled by default.
This commit is contained in:
parent
39bdf08628
commit
60cc73c333
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ static unsigned int head = 0;
|
|||
static unsigned char *exec_mem = (unsigned char *)0;
|
||||
|
||||
|
||||
#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun)
|
||||
#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun) || defined(__HAIKU__)
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue