We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a90cb commit 3dead51Copy full SHA for 3dead51
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