mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
Android also only has memalign
This commit is contained in:
parent
2f587ae081
commit
a7639a66a4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user