summaryrefslogtreecommitdiff
path: root/emulators/BasiliskII/patches/patch-ae
blob: 9f24cecc6c5cef7d45b7af2860a24579badde741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.1 2005/11/17 16:56:39 joerg Exp $

--- src/Unix/timer_unix.cpp.orig	2005-11-17 14:22:31.000000000 +0000
+++ src/Unix/timer_unix.cpp
@@ -228,7 +228,7 @@ uint64 GetTicks_usec(void)
 // Linux select() changes its timeout parameter upon return to contain
 // the remaining time. Most other unixen leave it unchanged or undefined.
 #define SELECT_SETS_REMAINING
-#elif defined(__FreeBSD__) || defined(__sun__) || (defined(__MACH__) && defined(__APPLE__))
+#elif defined(__FreeBSD__) || defined(__sun__) || (defined(__MACH__) && defined(__APPLE__)) || defined(__DragonFly__)
 #define USE_NANOSLEEP
 #elif defined(HAVE_PTHREADS) && defined(sgi)
 // SGI pthreads has a bug when using pthreads+signals+nanosleep,