summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5import/h5import.c4
-rwxr-xr-xtools/h5import/h5importtest.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index cfed58b..232f3c1 100755
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -25,7 +25,7 @@
/* Name of tool */
#define PROGRAMNAME "h5import"
-#ifdef WIN32
+#ifdef H5_HAVE_WIN32_API
#define READ_OPEN_FLAGS "rb"
#else
#define READ_OPEN_FLAGS "r"
@@ -309,7 +309,7 @@ static int processDataFile(char *infile, struct Input *in, hid_t file_id)
const char *err11 = "Error in reading string data.\n";
/*-------------------------------------------------------------------------
- * special case for opening binary classes in WIN32
+ * special case for opening binary classes in H5_HAVE_WIN32_API
* "FP" denotes a floating point binary file,
* "IN" denotes a signed integer binary file,
* "UIN" denotes an unsigned integer binary file,
diff --git a/tools/h5import/h5importtest.c b/tools/h5import/h5importtest.c
index 2869236..434cba7 100755
--- a/tools/h5import/h5importtest.c
+++ b/tools/h5import/h5importtest.c
@@ -16,7 +16,7 @@
#include <stdio.h>
#include "H5private.h"
-#ifdef WIN32
+#ifdef H5_HAVE_WIN32_API
#define OPEN_FLAGS "wb"
#else
#define OPEN_FLAGS "w"