summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-06-21 20:04:36 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-06-21 20:04:36 (GMT)
commit61b948ad23930cc8358cf2d3feb3ebe3581abf8c (patch)
treec45df4b9dfc225fac798b2167cec69869bded3f2 /src/H5FDstdio.c
parentf7641df1c0c7926a62e608bb34ac05755e0c85d4 (diff)
downloadhdf5-61b948ad23930cc8358cf2d3feb3ebe3581abf8c.zip
hdf5-61b948ad23930cc8358cf2d3feb3ebe3581abf8c.tar.gz
hdf5-61b948ad23930cc8358cf2d3feb3ebe3581abf8c.tar.bz2
[svn-r4046]
Purpose: bug fix for windows MVS Description: adding various windows macros to make it work on windows platform Solution: see above Platforms tested: test on windows 2000, confirmed on linux.
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index b4da5ce..c852208 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -20,6 +20,13 @@
#include <unistd.h>
#endif
+#ifdef WIN32
+#include <windows.h>
+#include <io.h>
+#endif /*kent yang 6/21/2001, must be added for defination of open,write....
+ also the defination of longlong is valid, will investigate this to
+ make sure int64 can replace longlong. Otherwise, keep windows.h*/
+
#ifdef MAX
#undef MAX
#endif /* MAX */