mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Android also only has memalign
This commit is contained in:
parent
2f587ae081
commit
a7639a66a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue