Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230e8e9 commit 794dff2Copy full SHA for 794dff2
1 file changed
Objects/mimalloc/prim/unix/prim.c
@@ -50,7 +50,7 @@ terms of the MIT license. A copy of the license can be found in the file
50
#include <sys/sysctl.h>
51
#endif
52
53
-#if !defined(__HAIKU__) && !defined(__APPLE__) && !defined(__CYGWIN__)
+#if !defined(__HAIKU__) && !defined(__APPLE__) && !defined(__CYGWIN__) && !defined(_AIX)
54
#define MI_HAS_SYSCALL_H
55
#include <sys/syscall.h>
56
@@ -76,7 +76,7 @@ static int mi_prim_access(const char *fpath, int mode) {
76
return syscall(SYS_access,fpath,mode);
77
}
78
79
-#elif !defined(__APPLE__) // avoid unused warnings
+#elif !defined(__APPLE__) && !defined(_AIX) // avoid unused warnings
80
81
static int mi_prim_open(const char* fpath, int open_flags) {
82
return open(fpath,open_flags);
0 commit comments