summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2005-04-25 19:33:44 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2005-04-25 19:33:44 (GMT)
commit12088553352465908be0d5e4981a9503e78e4026 (patch)
treecdb4364c481da4dba7f87f654c9202e2337e71eb /src
parentb3c8b2f846cc16b45a61783ca6b9d3247f8ed61c (diff)
downloadhdf5-12088553352465908be0d5e4981a9503e78e4026.zip
hdf5-12088553352465908be0d5e4981a9503e78e4026.tar.gz
hdf5-12088553352465908be0d5e4981a9503e78e4026.tar.bz2
[svn-r10660] Purpose:
bug fix (sorta) Description: Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN Solution: Since a test for H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script, the dtransform test would assume that this cast doesn't work and skip the test. Change the variable around so that, by default, it is assumed a long long to double cast does work. Platforms tested: minor change: copper, sol Misc. update:
Diffstat (limited to 'src')
-rw-r--r--src/H5Ztrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ztrans.c b/src/H5Ztrans.c
index 8858b63..d8e45cf 100644
--- a/src/H5Ztrans.c
+++ b/src/H5Ztrans.c
@@ -154,7 +154,7 @@ static void H5Z_print(H5Z_node *tree, FILE *stream);
#define ULLONG_TO_FP_XFORM_TYPE_OP_ERROR
#endif
-#ifndef H5_LLONG_TO_FP_CAST_WORKS
+#ifdef H5_LLONG_TO_FP_CAST_BROKEN
#define LLONG_TO_FP_XFORM_TYPE_OP_ERROR HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "Cannot convert from long long to double: required for data transform")
#else
#define LLONG_TO_FP_XFORM_TYPE_OP_ERROR