mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
fix compile without syscall (pr #714 by asuka-mio)
This commit is contained in:
parent
47d8cd916e
commit
8607c4a5df
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue