summaryrefslogtreecommitdiff
path: root/cad/magic/patches/patch-ay
blob: bb091f11cb781ba833d814ea3941346094471995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ay,v 1.2 2006/02/03 02:19:42 rillig Exp $

--- resis/ResRex.c.orig	2005-12-20 17:21:13.000000000 +0000
+++ resis/ResRex.c
@@ -10,7 +10,7 @@
 /* It is hard to get the value of MAXFLOAT in a portable manner. */
 #if defined(ibm032) || defined(CYGWIN) 
 #define MAXFLOAT        ((float)3.40282346638528860e+38)
-#elif !defined(__NetBSD__)
+#elif !defined(__NetBSD__) && !defined(__DragonFly__)
 #include <values.h>
 #endif