summaryrefslogtreecommitdiffstats
path: root/examples/h5_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_write.c')
-rw-r--r--examples/h5_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_write.c b/examples/h5_write.c
index df4c692..08ba544 100644
--- a/examples/h5_write.c
+++ b/examples/h5_write.c
@@ -5,7 +5,7 @@
#include "hdf5.h"
-#define FILE "SDS.h5"
+#define H5FILE_NAME "SDS.h5"
#define DATASETNAME "IntArray"
#define NX 5 /* dataset dimensions */
#define NY 6
@@ -41,7 +41,7 @@ main (void)
* default file creation properties, and default file
* access properties.
*/
- file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/*
* Describe the size of the array and create the data space for fixed