diff options
author | Vinson Lee <[email protected]> | 2020-05-23 13:46:28 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2020-06-03 21:09:54 -0700 |
commit | c3025bde192919649999da202e7527849bf2038f (patch) | |
tree | 385ad60fd623e70d288e7acd52052096ceaf6206 /src/mapi | |
parent | e9cda38031af98cf504fb9eb90dd4214e494ecb2 (diff) |
mesa: Fix NetBSD compiler macro.
Reported-by: RafaĆ Mikrut <[email protected]>
Fixes: a63b90712aad ("mesa: also check for __NetBSD__")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3015
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5191>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/u_execmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/u_execmem.c b/src/mapi/u_execmem.c index 89d5c1d08d5..d6e64c08886 100644 --- a/src/mapi/u_execmem.c +++ b/src/mapi/u_execmem.c @@ -46,7 +46,7 @@ static unsigned int head = 0; static unsigned char *exec_mem = (unsigned char *)0; -#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun) || defined(__HAIKU__) +#if defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__sun) || defined(__HAIKU__) #include <unistd.h> #include <sys/mman.h> |