OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb1d6e
)
libdrm: fix the Android 64bit build
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 29 Jan 2015 02:04:35 +0000
(
02:04
+0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 23 Feb 2015 09:23:03 +0000
(09:23 +0000)
With 64bit bionic mmap now handles 64bit offset, thus we no longer
need the __mmap2 trick.
Fix from Chih-Wei Huang, over at the google forums.
Cc: Chih-Wei Huang <cwhuang@android-x86.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
libdrm.h
patch
|
blob
|
history
diff --git
a/libdrm.h
b/libdrm.h
index
acfada5
..
6c3cd59
100644
(file)
--- a/
libdrm.h
+++ b/
libdrm.h
@@
-45,7
+45,7
@@
#include <sys/mman.h>
-#if defined(ANDROID)
+#if defined(ANDROID)
&& !defined(__LP64__)
#include <errno.h> /* for EINVAL */
extern void *__mmap2(void *, size_t, int, int, int, size_t);