Kaynağa Gözat

Enable only for architectures where __NR_madvise is defined
-Erik

Eric Andersen 21 yıl önce
ebeveyn
işleme
e50f6d1c15
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      libc/sysdeps/linux/common/madvise.c

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

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