Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 341 Bytes
--- src.orig/src/dpe.h 2009-05-21 00:45:31.888271000 -0400
+++ src/src/dpe.h 2009-05-21 00:44:52.352752000 -0400
@@ -25,6 +25,9 @@
#include <math.h> /* for round, floor, ceil */
#if defined (__sun) /* for round on Solaris 10 */
#include "tgmath.h"
+#include "ieeefp.h"
+#undef NAN
+#define NAN 0.0/0.0
#endif
#include <limits.h>