OSDN Git Service

symlink: Use symlinkat if arch does not have the symlink syscall
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / stubs.c
index 1fc2393..1f985e0 100644 (file)
@@ -403,7 +403,7 @@ make_stub(swapoff)
 make_stub(swapon)
 #endif
 
-#ifndef __NR_symlink
+#if !defined __NR_symlink && !defined __NR_symlinkat
 make_stub(symlink)
 #endif