svn commit: trunk/uClibc/libpthread/linuxthreads.old
aldot at uclibc.org
aldot at uclibc.org
Fri Oct 17 11:38:08 UTC 2008
Author: aldot
Date: 2008-10-17 04:38:08 -0700 (Fri, 17 Oct 2008)
New Revision: 23702
Log:
- guard socket calls with UCLIBC_HAS_SOCKET
Modified:
trunk/uClibc/libpthread/linuxthreads.old/wrapsyscall.c
Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads.old/wrapsyscall.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/wrapsyscall.c 2008-10-17 10:19:41 UTC (rev 23701)
+++ trunk/uClibc/libpthread/linuxthreads.old/wrapsyscall.c 2008-10-17 11:38:08 UTC (rev 23702)
@@ -183,7 +183,7 @@
CANCELABLE_SYSCALL (ssize_t, write, (int fd, const void *buf, size_t n),
(fd, buf, n))
-
+#if defined __UCLIBC_HAS_SOCKET__
/* The following system calls are thread cancellation points specified
in XNS. */
@@ -225,3 +225,4 @@
int flags, __CONST_SOCKADDR_ARG addr,
socklen_t addr_len),
(fd, buf, n, flags, addr, addr_len))
+#endif /* __UCLIBC_HAS_SOCKET__ */
More information about the uClibc-cvs
mailing list