summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-01-12 06:48:36 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-01-12 06:48:36 (GMT)
commit51fd87c344ae249b90734ab1cf42817778517b58 (patch)
treee3e432c119a5173b94494950e920ee2ae1418580 /tools
parent4ce7a7ad80b04620240ebdc68824aaf9b8ec6514 (diff)
downloadhdf5-51fd87c344ae249b90734ab1cf42817778517b58.zip
hdf5-51fd87c344ae249b90734ab1cf42817778517b58.tar.gz
hdf5-51fd87c344ae249b90734ab1cf42817778517b58.tar.bz2
[svn-r3276]
Purpose: windows bug fix Description: need extra header files for windows Solution: add #ifdef win32 #endif loops Platforms tested: windows 2000, confirmed at eirene
Diffstat (limited to 'tools')
-rw-r--r--tools/h5import.c3
-rw-r--r--tools/h5repart.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/h5import.c b/tools/h5import.c
index 53fae0b..e896feb 100644
--- a/tools/h5import.c
+++ b/tools/h5import.c
@@ -26,6 +26,9 @@
# include <sys/stat.h>
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
/*-------------------------------------------------------------------------
diff --git a/tools/h5repart.c b/tools/h5repart.c
index 6704f38..de7b3df 100644
--- a/tools/h5repart.c
+++ b/tools/h5repart.c
@@ -32,6 +32,10 @@
# include <sys/stat.h>
#endif
+#ifdef WIN32
+#include <io.h>
+#endif
+
#ifndef FALSE
#define FALSE 0
#endif