4ecb4314aa
XXX The SCons usage sucks.
22 lines
771 B
Text
22 lines
771 B
Text
$NetBSD: patch-ai,v 1.2 2006/05/29 19:44:24 joerg Exp $
|
|
|
|
--- InOut/widgets.cpp.orig 2006-02-15 10:25:55.000000000 -0800
|
|
+++ InOut/widgets.cpp
|
|
@@ -29,7 +29,7 @@
|
|
# include <windows.h>
|
|
#endif /* defined(WIN32) */
|
|
|
|
-#if defined(LINUX)
|
|
+#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
# include <pthread.h>
|
|
# include <sched.h>
|
|
# include <sys/time.h>
|
|
@@ -1722,7 +1722,7 @@ static uintptr_t fltkRun(void *userdata)
|
|
|
|
p = (widgetsGlobals_t*) csound->QueryGlobalVariable(csound,
|
|
"_widgets_globals");
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
{
|
|
struct sched_param sp;
|
|
// IV - Aug 27 2002: widget thread is always run with normal priority
|