2012-08-28 15:29:15 +02:00
|
|
|
$NetBSD: patch-nsprpub_pr_src_pthreads_ptio.c,v 1.2 2012/08/28 13:29:17 ryoon Exp $
|
2012-04-18 22:57:33 +02:00
|
|
|
|
2012-08-28 15:29:15 +02:00
|
|
|
--- nsprpub/pr/src/pthreads/ptio.c.orig 2012-03-06 13:14:21.000000000 +0000
|
2012-04-18 22:57:33 +02:00
|
|
|
+++ nsprpub/pr/src/pthreads/ptio.c
|
2012-08-28 15:29:15 +02:00
|
|
|
@@ -180,7 +180,8 @@ static PRBool _pr_ipv6_v6only_on_by_defa
|
2012-04-18 22:57:33 +02:00
|
|
|
|| defined(LINUX) || defined(__GNU__) || defined(__GLIBC__) \
|
|
|
|
|| defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
|
|
|
|
|| defined(BSDI) || defined(NTO) || defined(DARWIN) \
|
|
|
|
- || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN)
|
|
|
|
+ || defined(UNIXWARE) || defined(RISCOS) || defined(SYMBIAN) \
|
|
|
|
+ || defined(__DragonFly__)
|
|
|
|
#define _PRSelectFdSetArg_t fd_set *
|
|
|
|
#else
|
|
|
|
#error "Cannot determine architecture"
|
2012-08-28 15:29:15 +02:00
|
|
|
@@ -3254,7 +3255,7 @@ static PRIOMethods _pr_socketpollfd_meth
|
2012-04-18 22:57:33 +02:00
|
|
|
|| defined(AIX) || defined(FREEBSD) || defined(NETBSD) \
|
|
|
|
|| defined(OPENBSD) || defined(BSDI) || defined(NTO) \
|
|
|
|
|| defined(DARWIN) || defined(UNIXWARE) || defined(RISCOS) \
|
|
|
|
- || defined(SYMBIAN)
|
|
|
|
+ || defined(SYMBIAN) || defined(__DragonFly__)
|
|
|
|
#define _PR_FCNTL_FLAGS O_NONBLOCK
|
|
|
|
#else
|
|
|
|
#error "Can't determine architecture"
|