From c3025bde192919649999da202e7527849bf2038f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 23 May 2020 13:46:28 -0700 Subject: mesa: Fix NetBSD compiler macro. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: RafaƂ Mikrut Fixes: a63b90712aad ("mesa: also check for __NetBSD__") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3015 Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom Part-of: --- src/mapi/u_execmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapi') 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 #include -- cgit v1.2.3