diff options
author | Jon TURNEY <[email protected]> | 2013-09-21 17:16:37 +0100 |
---|---|---|
committer | Jon TURNEY <[email protected]> | 2013-10-18 14:16:27 +0100 |
commit | 87e84acbfd5e4b9cf046fa29786b8eaea4442c71 (patch) | |
tree | 6fd1e6d2866b872a7673091d2afc1a099bab6825 | |
parent | 9aad1ba70fad7bfa45778faa5a91235f8302264f (diff) |
rtasm: The heap is NX on 64-bit Cygwin, so use the rtasm_exec_malloc() implementation which uses mmap()
The heap is NX on 64-bit Cygwin, so use the rtasm_exec_malloc() implementation
which uses mmap() to allocate an anonymous page with execute permission, rather
than the one which just uses malloc().
Signed-off-by: Jon TURNEY <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/rtasm/rtasm_execmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c index 8f7cc2035b5..3c4b0483ae8 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) +#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_CYGWIN) /* |