Browse Source

Enable only for architectures where __NR_madvise is defined
-Erik

Eric Andersen 21 years ago
parent
commit
e50f6d1c15
1 changed files with 2 additions and 0 deletions
  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