Mesa (master): rtasm: Generalize executable memory allocator to all Unices.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Jun 9 15:21:42 UTC 2015


Module: Mesa
Branch: master
Commit: 65bd4159b35c7213e0ac27c6299495e08a105ab4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65bd4159b35c7213e0ac27c6299495e08a105ab4

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Tue Jun  9 14:43:21 2015 +0100

rtasm: Generalize executable memory allocator to all Unices.

We're only using fairly portable standard Unix calls here, so might as
well save ourselves future trouble by enabling on all Unices by default.

https://bugs.freedesktop.org/show_bug.cgi?id=90904

Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 src/gallium/auxiliary/rtasm/rtasm_execmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
index 8c3dbef..f7e605e 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
@@ -49,7 +49,7 @@
 #include <windows.h>
 #endif
 
-#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_CYGWIN)
+#if defined(PIPE_OS_UNIX)
 
 
 /*




More information about the mesa-commit mailing list