summaryrefslogtreecommitdiffstats
path: root/examples/h5_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_read.c')
-rw-r--r--examples/h5_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_read.c b/examples/h5_read.c
index 82f71a6..b96322b 100644
--- a/examples/h5_read.c
+++ b/examples/h5_read.c
@@ -7,7 +7,7 @@
#include "hdf5.h"
-#define FILE "SDS.h5"
+#define H5FILE_NAME "SDS.h5"
#define DATASETNAME "IntArray"
#define NX_SUB 3 /* hyperslab dimensions */
#define NY_SUB 4
@@ -51,7 +51,7 @@ main (void)
/*
* Open the file and the dataset.
*/
- file = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT);
+ file = H5Fopen(H5FILE_NAME, H5F_ACC_RDONLY, H5P_DEFAULT);
dataset = H5Dopen(file, DATASETNAME);
/*