summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-dd
blob: 8cbf26e4a866a153e5f5d83b69879933158d530a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-dd,v 1.1 2005/05/20 20:08:40 wiz Exp $

--- src/timer/linux/SDL_systimer.c.orig	2004-02-18 18:22:03.000000000 +0100
+++ src/timer/linux/SDL_systimer.c
@@ -55,7 +55,7 @@ static char rcsid =
 /* 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(__bsdi__) || defined(__FreeBSD__) || defined(__sun)
+#elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun) || defined(__DragonFly__)
 #define USE_NANOSLEEP
 #endif