rtasm: Generalize executable memory allocator to all Unices.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 9 Jun 2015 13:43:21 +0000 (14:43 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 9 Jun 2015 15:18:16 +0000 (16:18 +0100)
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@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/rtasm/rtasm_execmem.c

index 8c3dbefd109b5854a50d6d4c3e63cb41889cdf86..f7e605e9563323626de81403079fda27e80699b3 100644 (file)
@@ -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)
 
 
 /*