summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/os/os_mman.h')
-rw-r--r--src/gallium/auxiliary/os/os_mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_mman.h b/src/gallium/auxiliary/os/os_mman.h
index 3fc8c432f80..e892610bdbd 100644
--- a/src/gallium/auxiliary/os/os_mman.h
+++ b/src/gallium/auxiliary/os/os_mman.h
@@ -54,7 +54,7 @@ extern "C" {
#endif
-#if defined(PIPE_OS_ANDROID)
+#if defined(PIPE_OS_ANDROID) && !defined(__LP64__)
extern void *__mmap2(void *, size_t, int, int, int, size_t);