13 lines
426 B
Text
13 lines
426 B
Text
$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
|