[svn-r10113] Purpose: Bug fix

Description:  Condition check of macro H5_ULLONG_TO_FP_CAST_WORKS was accidentally
taken out in last revision.  This macro is defined for Windows because Windows
doesn't support conversion from "unsigned long long" to any floating-point type.

Solution:  Added it back to H5T_conv_ullong_xxx() functions(xxx is any of "float",
"double", or "long double").

Platforms tested: tested on Windows.
This commit is contained in:
Raymond Lu 2005-03-01 14:40:39 -05:00
parent 2f4f7d07b1
commit 7baf33d19b

View File

@ -8014,6 +8014,7 @@ done:
}
#if H5_ULLONG_TO_FP_CAST_WORKS
/*-------------------------------------------------------------------------
* Function: H5T_conv_ullong_float
*
@ -8108,6 +8109,7 @@ H5T_conv_ullong_ldouble (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
done:
FUNC_LEAVE_NOAPI(ret_value);
}
#endif /*H5_ULLONG_TO_FP_CAST_WORKS*/
/*-------------------------------------------------------------------------