summaryrefslogtreecommitdiff
path: root/misc/firelib/patches/patch-aa
blob: e62d0f8583fd02439427d75b2e4caedd09985cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.2 2005/11/08 03:24:00 tv Exp $

--- fireSim.c.orig	1996-10-02 17:05:32.000000000 -0400
+++ fireSim.c
@@ -29,7 +29,13 @@
 
 #include "fireLib.h"
 
+#ifndef INFINITY
+#ifdef HUGE_VAL
+#define INFINITY HUGE_VAL
+#else
 #define INFINITY 999999999.     /* or close enough */
+#endif
+#endif
 
 /* NOTE 1: Change these to modify map size & resolution. */
 static int    Rows   = 101;     /* Number of rows in each map. */