mirror of https://github.com/microsoft/mimalloc
fix compile without syscall (pr #714 by asuka-mio)
This commit is contained in:
parent
47d8cd916e
commit
8607c4a5df
|
@ -79,7 +79,7 @@ static int mi_prim_access(const char *fpath, int mode) {
|
|||
#elif !defined(__APPLE__) // avoid unused warnings
|
||||
|
||||
static int mi_prim_open(const char* fpath, int open_flags) {
|
||||
return open(fpath,open_flags,mode);
|
||||
return open(fpath,open_flags);
|
||||
}
|
||||
static ssize_t mi_prim_read(int fd, void* buf, size_t bufsize) {
|
||||
return read(fd,buf,bufsize);
|
||||
|
|
Loading…
Reference in New Issue