Explorar el Código

Enable only for architectures where __NR_madvise is defined
-Erik

Eric Andersen hace 21 años
padre
commit
e50f6d1c15
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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