Commit 9320ea8b authored by John Biddiscombe's avatar John Biddiscombe
Browse files

BUG:A fix for hdf1.8.x compilation

parent 3fa0b79e
......@@ -349,10 +349,17 @@ for( i = 0 ; i < Length ; i++ ){
HCoordinates[i] = Coordinates[i];
}
#if (H5_VERS_MAJOR>1)||((H5_VERS_MAJOR==1)&&((H5_VERS_MINOR>6)||((H5_VERS_MINOR==6)&&(H5_VERS_RELEASE>=4))))
# if (H5_VERS_MAJOR>1)||((H5_VERS_MAJOR==1)&&((H5_VERS_MINOR>6)||((H5_VERS_MINOR==6)&&(H5_VERS_RELEASE>=7))))
status = H5Sselect_elements( this->DataSpace,
H5S_SELECT_SET,
NElements,
( const hsize_t *)HCoordinates);
# else
status = H5Sselect_elements( this->DataSpace,
H5S_SELECT_SET,
NElements,
( const hsize_t **)HCoordinates);
# endif
#else
status = H5Sselect_elements( this->DataSpace,
H5S_SELECT_SET,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment