summaryrefslogtreecommitdiffstats
path: root/examples/h5_extend_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_extend_write.c')
-rw-r--r--examples/h5_extend_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_extend_write.c b/examples/h5_extend_write.c
index c6aa37c..4fd404c 100644
--- a/examples/h5_extend_write.c
+++ b/examples/h5_extend_write.c
@@ -7,7 +7,7 @@
#include "hdf5.h"
-#define FILE "SDSextendible.h5"
+#define H5FILE_NAME "SDSextendible.h5"
#define DATASETNAME "ExtendibleArray"
#define RANK 2
#define NX 10
@@ -52,7 +52,7 @@ main (void)
/*
* Create a new file. If file exists its contents will be overwritten.
*/
- file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/*
* Modify dataset creation properties, i.e. enable chunking.