use of obsolete macro fixed

This commit is contained in:
2008-08-20 15:07:28 +00:00
parent 657aee3049
commit 66f0bf6e4e
+2 -2
View File
@@ -252,7 +252,7 @@ int main(int argc,char *argv[]){
}
// read dataset names
h5part_int64_t status = H5PART_SUCCESS;
h5part_int64_t status = H5_SUCCESS;
const h5part_int64_t lenName = 64;
char datasetName[lenName];
h5part_int64_t datasetType;
@@ -263,7 +263,7 @@ int main(int argc,char *argv[]){
status = H5PartGetDatasetInfo(file, i, datasetName, lenName,
&datasetType, &datasetNElems);
if (status != H5PART_SUCCESS) {
if (status != H5_SUCCESS) {
perror("Could not retrieve dataset names!");
}
else {