2013-09-26 17:14:40 +02:00

19 lines
438 B
Plaintext

$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. */