summaryrefslogtreecommitdiff
path: root/lang/sather/patches/patch-ba
blob: 8d322a44d3114aaec251210d2a2a3a95730a2c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.1 2006/01/12 00:05:04 joerg Exp $

--- System/Common/runtime.h.orig	2006-01-11 22:04:54.000000000 +0000
+++ System/Common/runtime.h
@@ -179,7 +179,7 @@ void rt_file_close(INT fd);
 #define isnormal(f) ((int)1)  /* these two are hacks esc*/
 #define issubnormal(f) ((int)0)
 
-#elif defined(_AIX) || defined(SUNOS5) || defined(__NeXT__) || defined(__sgi) || defined(ALPHA) || defined(__hpux) || defined(__FreeBSD__) || defined(__alpha) || defined(__CYGWIN32__)
+#elif defined(_AIX) || defined(SUNOS5) || defined(__NeXT__) || defined(__sgi) || defined(ALPHA) || defined(__hpux) || defined(__FreeBSD__) || defined(__alpha) || defined(__CYGWIN32__) || defined(__DragonFly__)
 # define FLTDEXP10(f)    pow(10.0,f)
 #else
 # define FLTDEXP10(f)    exp10(f)