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

12 lines
237 B
Diff
Raw Normal View History

2019-03-25 13:10:30 +00:00
--- include/sislP.h.orig
+++ 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. */