blob: 93c94092c56bb28b3dcfa3ee8b0210eee9922ea9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.2 2006/04/28 20:33:30 joerg 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
+#if defined(__NetBSD__) || defined(__DragonFly__)
+# define trunc(x) ((float)((int)(x)))
+#endif
#ifdef cygwin
# define trunc(x) ((float)((int)(x)))
#endif
|