Parcourir la source

Enable only for architectures where __NR_madvise is defined
-Erik

Eric Andersen il y a 21 ans
Parent
commit
e50f6d1c15
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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