mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 13:03:41 -04:00
19 lines
438 B
Plaintext
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. */
|