mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
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: Tim Gore <tim.gore@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
5b7edb9cb0
commit
52888df084
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user