void-packages/srcpkgs/sisl/patches/maxdouble.patch

12 lines
236 B
Diff

--- a/include/sislP.h
+++ b/include/sislP.h
@@ -362,7 +362,7 @@ enum
#if defined(SISL_INTERNAL)
#ifndef HUGE
-#define HUGE MAXDOUBLE
+#define HUGE DBL_MAX
#endif
/* Storage classes. Used in space allocation. */