Mercurial > hg > minc-tools
changeset 1772:aaf8ec6d84b4
Update to avoid some warnings w.r.t. DBL_MAX
author | bert <bert> |
---|---|
date | Fri, 30 Apr 2004 18:52:20 +0000 |
parents | 93621dd6af39 |
children | a0717f1960da |
files | volume_io/Include/volume_io/system_dependent.h |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/volume_io/Include/volume_io/system_dependent.h +++ b/volume_io/Include/volume_io/system_dependent.h @@ -16,13 +16,19 @@ #if HAVE_FLOAT_H #include <float.h> -#endif + +#else + +#if HAVE_VALUES_H +#include <values.h> #ifndef DBL_MAX -#include <values.h> #define DBL_MAX MAXDOUBLE #endif /* DBL_MAX not defined */ +#endif /* HAVE_VALUES_H */ +#endif /* HAVE_FLOAT_H */ + #include <stdlib.h> #ifndef EXIT_FAILURE