mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 05:59:32 +03:00
Fix compilation
This commit is contained in:
parent
acdd35290e
commit
b392e8a2ef
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