Commit 52888df0 authored by Tim Gore's avatar Tim Gore Committed by Thomas Wood

lib/drmtest.h : fix mmap64 again

In android mmap64 was redirected to mmap2 because mmap64
was not alway available. But now mmap2 has been removed
from 64 bit android builds (and mmap64 is available), so
update preprocessor conditional to check for __x86_64__.
Signed-off-by: default avatarTim Gore <>
Signed-off-by: default avatarThomas Wood <>
parent 5b7edb9c
......@@ -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. */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment