summaryrefslogtreecommitdiffstats
path: root/test/iopipe.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-06-21 20:06:32 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-06-21 20:06:32 (GMT)
commita3b9db81d115ed72ec2e0bd855e33eb427714355 (patch)
tree672a20c2ffd283d04017dfc5c49b64cb53088174 /test/iopipe.c
parent61b948ad23930cc8358cf2d3feb3ebe3581abf8c (diff)
downloadhdf5-a3b9db81d115ed72ec2e0bd855e33eb427714355.zip
hdf5-a3b9db81d115ed72ec2e0bd855e33eb427714355.tar.gz
hdf5-a3b9db81d115ed72ec2e0bd855e33eb427714355.tar.bz2
[svn-r4047]
Purpose: bug fix for windows Description: adding various windows macros Solution: see above Platforms tested: windows 2000, confirmed on linux.
Diffstat (limited to 'test/iopipe.c')
-rw-r--r--test/iopipe.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/iopipe.c b/test/iopipe.c
index fda5929..05694ae 100644
--- a/test/iopipe.c
+++ b/test/iopipe.c
@@ -9,6 +9,11 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
#include "hdf5.h"
+#ifdef H5_HAVE_WINSOCK_H
+#include <Winsock.h>
+#endif /*Winsock.h includes windows.h, due to the different value of
+ WINVER, windows.h should be put before H5private.h. Kent yang 6/21/2001*/
+
#include "H5private.h"
#ifdef H5_STDC_HEADERS
@@ -37,9 +42,6 @@
# include <sys/resource.h>
#endif
-#ifdef H5_HAVE_WINSOCK_H
-#include <Winsock.h>
-#endif
#if defined (__MWERKS__)