mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r11401] Purpose: Maintenance
Description: brought back changes from SX-6 Solution: Platforms tested: SX-6, heping and mir with new g95 Misc. update:
This commit is contained in:
parent
8f9e9e2c45
commit
48ae256b07
@ -66,17 +66,21 @@ nh5init_types_c( hid_t_f * types, hid_t_f * floatingtypes, hid_t_f * integertype
|
||||
else if(sizeof(real_f)==sizeof(double)){
|
||||
if ((types[1] = (hid_t_f)H5Tcopy(H5T_NATIVE_DOUBLE)) < 0) return ret_value;
|
||||
} /* end if */
|
||||
#if H5_SIZEOF_LONG_DOUBLE!=0
|
||||
else if (sizeof(real_f) == sizeof(long double)) {
|
||||
if ((types[1] = (hid_t_f)H5Tcopy(H5T_NATIVE_LDOUBLE)) < 0) return ret_value;
|
||||
} /* end else */
|
||||
#endif
|
||||
|
||||
|
||||
/* Find appropriate size to store Fortran DOUBLE */
|
||||
if(sizeof(double_f)==sizeof(double)) {
|
||||
if ((types[2] = (hid_t_f)H5Tcopy(H5T_NATIVE_DOUBLE)) < 0) return ret_value;
|
||||
}/*end if */
|
||||
#if H5_SIZEOF_LONG_DOUBLE!=0
|
||||
else if(sizeof(double_f)==sizeof(long double)) {
|
||||
if ((types[2] = (hid_t_f)H5Tcopy(H5T_NATIVE_LDOUBLE)) < 0) return ret_value;
|
||||
}/*end else */
|
||||
#endif
|
||||
|
||||
/*
|
||||
if ((types[3] = H5Tcopy(H5T_NATIVE_UINT8)) < 0) return ret_value;
|
||||
|
Loading…
Reference in New Issue
Block a user