diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-01-08 20:56:12 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-01-08 20:56:12 (GMT) |
commit | 7faa297ea6144a08e3e2284d3065d502c2598a87 (patch) | |
tree | 3649e5e6a599f8ef27f9af0a78dd85fbcd0fdb58 /src/H5config.h.in | |
parent | 19efec650d421d9f5c3d8baad6cedb54e935e8d5 (diff) | |
download | hdf5-7faa297ea6144a08e3e2284d3065d502c2598a87.zip hdf5-7faa297ea6144a08e3e2284d3065d502c2598a87.tar.gz hdf5-7faa297ea6144a08e3e2284d3065d502c2598a87.tar.bz2 |
[svn-r9783] Purpose: Bug fix
Description: For HP-UX 11.00, the compiler generates 'floating exception'
when converting 'long double' to most of integer types.
Solution: Define a macro for all other systems except HP-UX 11.00. Hard set
this macro to 'no' in config/hpux11.00 to skip this test for HP-UX 11.00.
Platforms tested: modi4, kelgia, fuss
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 7fb77be..d7f27f9 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -519,9 +519,13 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* Define if your system can accurately convert between long double and - integer values. */ -#undef SW_LDOUBLE_TO_INT_WORKS +/* Define if your system can accurately convert from integers to long double + values. */ +#undef SW_INTEGER_TO_LDOUBLE_WORKS + +/* Define if your system can accurately convert from long double to integer + values. */ +#undef SW_LDOUBLE_TO_INTEGER_WORKS /* Define if your system can accurately convert unsigned long long values to floating-point values. */ |