summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/drmtest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 508cc83a..7d20d770 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -39,7 +39,7 @@
#include "intel_batchbuffer.h"
#ifdef ANDROID
-#ifndef HAVE_MMAP64
+#if (!(defined HAVE_MMAP64)) && (!(defined __x86_64__))
extern void* __mmap2(void *, size_t, int, int, int, off_t);
/* mmap64 is a recent addition to bionic and not available in all android builds. */