mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 00:09:31 +03:00
do not use syscall on android (issue #1015)
This commit is contained in:
parent
3c13579fcf
commit
566ab5038b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__FreeBSD__)
|
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__FreeBSD__)
|
||||||
#define MI_HAS_SYSCALL_H
|
#define MI_HAS_SYSCALL_H
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue