summaryrefslogtreecommitdiff
path: root/graphics/dx/patches/patch-af
blob: 7bb84a1d6a9cc2435ca6ac21f6ffc55b62d83344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 1999/10/01 11:23:15 drochner Exp $
--- src/exec/dxmods/_compoper1.c.orig	Sun Sep 26 23:18:48 1999
+++ src/exec/dxmods/_compoper1.c	Sun Sep 26 23:19:04 1999
@@ -457,6 +457,9 @@
 #ifdef freebsd
 #   define trunc(x) ((float)((int)(x)))
 #endif
+#ifdef __NetBSD__
+#   define trunc(x) ((float)((int)(x)))
+#endif
 #ifdef cygwin
 #   define trunc(x) ((float)((int)(x)))
 #endif