From 81b480369b905229c8dad41755c82aea0faca1e7 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 Oct 2012 15:57:41 +0100 Subject: symlink: Use symlinkat if arch does not have the symlink syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/stubs.c') diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c index 1fc23933c..1f985e05f 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -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 -- cgit v1.2.3