diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-09 20:24:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-09 20:24:36 (GMT) |
commit | 3d4049134eb8daf317dc9344eb323b94fadd13f6 (patch) | |
tree | 1bf1b00e82c8164fe77a62e9be80ac08ed0ba058 /src/H5T.c | |
parent | 0f002845f33090167dcb9fd06daf54813e13f419 (diff) | |
download | hdf5-3d4049134eb8daf317dc9344eb323b94fadd13f6.zip hdf5-3d4049134eb8daf317dc9344eb323b94fadd13f6.tar.gz hdf5-3d4049134eb8daf317dc9344eb323b94fadd13f6.tar.bz2 |
[svn-r10740] Purpose:
Bug fix
Description:
Add missing #ifdef's to recent code cleanup that fix daily test failures.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -675,9 +675,9 @@ H5T_init_interface(void) H5T_t *native_ullong=NULL; /* Datatype structure for native unsigned llong */ H5T_t *native_float=NULL; /* Datatype structure for native float */ H5T_t *native_double=NULL; /* Datatype structure for native double */ -#if H5_SW_LDOUBLE_TO_INTEGER_WORKS +#if H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS H5T_t *native_ldouble=NULL; /* Datatype structure for native double */ -#endif /*H5_SW_LDOUBLE_TO_INTEGER_WORKS*/ +#endif /*H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS */ H5T_t *std_u8le=NULL; /* Datatype structure for unsigned 8-bit little-endian integer */ H5T_t *std_u8be=NULL; /* Datatype structure for unsigned 8-bit big-endian integer */ H5T_t *std_u16le=NULL; /* Datatype structure for unsigned 16-bit little-endian integer */ @@ -749,10 +749,10 @@ H5T_init_interface(void) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object"); if (NULL==(native_double=H5I_object(H5T_NATIVE_DOUBLE_g))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object"); -#if H5_SW_LDOUBLE_TO_INTEGER_WORKS +#if H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS if (NULL==(native_ldouble=H5I_object(H5T_NATIVE_LDOUBLE_g))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype object"); -#endif /*H5_SW_LDOUBLE_TO_INTEGER_WORKS*/ +#endif /*H5_SW_LDOUBLE_TO_INTEGER_WORKS || H5_SW_INTEGER_TO_LDOUBLE_WORKS */ /*------------------------------------------------------------ * Native types |