projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387a8fe
)
Check if the hosts defines a symlinkat syscall.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 25 Sep 2007 16:09:22 +0000
(16:09 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 25 Sep 2007 16:09:22 +0000
(16:09 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3236
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 05f8596bc2e2b5a220765039fe05ffe50b882a76..645780e8520a19904ec8d19cf262e63c5eb93406 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-211,7
+211,7
@@
_syscall4(int,sys_renameat,int,olddirfd,const char *,oldpath,
int,newdirfd,const char *,newpath)
#endif
_syscall3(int,sys_rt_sigqueueinfo,int,pid,int,sig,siginfo_t *,uinfo)
-#if
def TARGET_NR_symlinkat
+#if
defined(TARGET_NR_symlinkat) && defined(__NR_symlinkat)
_syscall3(int,sys_symlinkat,const char *,oldpath,
int,newdirfd,const char *,newpath)
#endif