diff options
author | Mark Murray <markm@FreeBSD.org> | 2003-09-16 08:45:50 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2003-09-16 08:45:50 +0000 |
commit | 6be419559e62a72b7945c08689854f921830c30a (patch) | |
tree | e16434322c902d85f2477d8725dd0cf2ed8cbd96 /lang | |
parent | 7adf1ba49915ed56a33153600754cc2015e3013e (diff) | |
download | ports-6be419559e62a72b7945c08689854f921830c30a.tar.gz ports-6be419559e62a72b7945c08689854f921830c30a.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcl/files/patch-h_gclincl.h.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/gcl/files/patch-h_gclincl.h.in b/lang/gcl/files/patch-h_gclincl.h.in new file mode 100644 index 000000000000..cdee7b73b438 --- /dev/null +++ b/lang/gcl/files/patch-h_gclincl.h.in @@ -0,0 +1,17 @@ +--- h/gclincl.h.in.orig Wed Feb 26 15:26:41 2003 ++++ h/gclincl.h.in Mon Sep 15 17:18:53 2003 +@@ -119,7 +119,14 @@ + #include <ieeefp.h> + #define ISNORMAL(a) (fpclass(a)>=FP_NZERO) + #else ++#define HAVE_FLOAT_H 1 ++#ifdef HAVE_FLOAT_H ++#include <float.h> ++#define ISNORMAL(a) \ ++ ((DBL_MIN<=(a) && (a)<=DBL_MAX) || (DBL_MIN<=(-a) && (-a)<=DBL_MAX)) ++#else + #error "No isnormal found" ++#endif + #endif + #endif + #endif |