OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7b9d5
)
dont try to build fork if the arch doesnt support it (like ia64)
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 17 Nov 2005 23:37:13 +0000
(23:37 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 17 Nov 2005 23:37:13 +0000
(23:37 -0000)
libc/sysdeps/linux/common/fork.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/fork.c
b/libc/sysdeps/linux/common/fork.c
index
9f87ea4
..
e766799
100644
(file)
--- a/
libc/sysdeps/linux/common/fork.c
+++ b/
libc/sysdeps/linux/common/fork.c
@@
-11,7
+11,9
@@
#include <unistd.h>
#ifdef __ARCH_HAS_MMU__
+#ifdef __NR_fork
#define __NR___libc_fork __NR_fork
_syscall0(pid_t, __libc_fork);
weak_alias(__libc_fork, fork);
#endif
+#endif