浏览代码

Enable only for architectures where __NR_madvise is defined
-Erik

Eric Andersen 21 年之前
父节点
当前提交
e50f6d1c15
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      libc/sysdeps/linux/common/madvise.c

+ 2 - 0
libc/sysdeps/linux/common/madvise.c

@@ -8,4 +8,6 @@
  */
 
 #include "syscalls.h"
+#ifdef __NR_madvise
 _syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice);
+#endif