projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f587ae
)
Android also only has memalign
author
Howard Chu
<hyc@symas.com>
Thu, 25 Sep 2014 18:25:56 +0000
(19:25 +0100)
committer
Howard Chu
<hyc@symas.com>
Thu, 25 Sep 2014 18:25:56 +0000
(19:25 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
6cc3433
..
60dfd8d
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-90,7
+90,7
@@
extern int cacheflush(char *addr, int nbytes, int cache);
#include <time.h>
#include <unistd.h>
-#if defined(__sun)
+#if defined(__sun)
|| defined(ANDROID)
/* Most platforms have posix_memalign, older may only have memalign */
#define HAVE_MEMALIGN 1
#include <malloc.h>