diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-26 03:05:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-03-26 03:05:30 (GMT) |
commit | 90cc5df290516821b0b4c535c805771516832c60 (patch) | |
tree | 44b61a8acfba0eeadbcb9b0bbcb1cc31326cb332 /src | |
parent | 27dd4e0f05c72c9ec3745965d525cc4637fc2e0a (diff) | |
download | hdf5-90cc5df290516821b0b4c535c805771516832c60.zip hdf5-90cc5df290516821b0b4c535c805771516832c60.tar.gz hdf5-90cc5df290516821b0b4c535c805771516832c60.tar.bz2 |
[svn-r26598] Description:
Bring r26501 from the autotools_rework branch to the trunk:
Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.
Tested on:
Linux/32 2.6.18 (jam) w/serial & parallel
(Daily tested on branch for 2+ days)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Tpkg.h | 3 | ||||
-rw-r--r-- | src/H5config.h.in | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h index ffcfe0a..ab64fdc 100644 --- a/src/H5Tpkg.h +++ b/src/H5Tpkg.h @@ -135,8 +135,7 @@ * not support unsigned long long. For FreeBSD(sleipnir), the last 2 bytes of mantissa are lost when * compiler tries to do the conversion. For Cygwin, compiler doesn't do rounding correctly. * Mac OS 10.4 gives some incorrect result. */ -#if (H5_WANT_DATA_ACCURACY && \ - defined(H5_ULLONG_TO_LDOUBLE_PRECISION) && defined(H5_LLONG_TO_LDOUBLE_CORRECT)) || (!H5_WANT_DATA_ACCURACY) +#if (H5_WANT_DATA_ACCURACY && defined(H5_LLONG_TO_LDOUBLE_CORRECT)) || (!H5_WANT_DATA_ACCURACY) #define H5T_CONV_INTERNAL_ULLONG_LDOUBLE 1 #endif diff --git a/src/H5config.h.in b/src/H5config.h.in index 4baab7e..5299d44 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -557,10 +557,6 @@ /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ #undef TIME_WITH_SYS_TIME -/* Define if your system can convert unsigned long long to long double with - correct precision. */ -#undef ULLONG_TO_LDOUBLE_PRECISION - /* Define using v1.6 public API symbols by default */ #undef USE_16_API_DEFAULT |