blob: 0e9920f65b9a5652f9b5dae1a76f2b171b62c88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ah,v 1.3 1998/12/04 11:09:46 frueauf Exp $
--- runtime/fail.c.orig Wed Feb 11 08:19:54 1998
+++ runtime/fail.c Thu Dec 3 02:57:48 1998
@@ -1,9 +1,13 @@
/* Raising exceptions from C. */
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
#if defined(__MWERKS__) || defined(WIN32)
#define MAXDOUBLE 1.7976931348623157081e+308
#else
-#ifdef __FreeBSD__
+#if (defined(BSD) && BSD >= 199306)
#include <float.h>
#define MAXDOUBLE DBL_MAX
#else
|