blob: 4cca9a01ca1f6ac2efbf44c12155deeae13f0b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ac,v 1.1 2009/01/04 11:00:35 obache Exp $
https://sourceforge.net/tracker2/?func=detail&aid=2484842&group_id=200242&atid=972717
--- myconf.h.orig 2009-01-03 12:51:23.000000000 +0000
+++ myconf.h
@@ -258,6 +258,11 @@
#define nan(TC_a) strtod("nan", NULL)
#endif
+#if defined(_SYS_NETBSD_) && TCUSEPTHREAD
+#include <sched.h>
+#define pthread_yield() sched_yield()
+#endif
+
#if ! defined(PATH_MAX)
#if defined(MAXPATHLEN)
#define PATH_MAX MAXPATHLEN
|