summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-07-06 17:39:15 (GMT)
committerGitHub <noreply@github.com>2021-07-06 17:39:15 (GMT)
commit8e2fc4a2e2325a006d42b1df5c339549cdd2cb94 (patch)
treea8e9ba199a98b20bb66142af1f4efd751119ea81 /tools/lib
parent257c8c745446ee614f92624b30cec41d8d771e05 (diff)
downloadhdf5-8e2fc4a2e2325a006d42b1df5c339549cdd2cb94.zip
hdf5-8e2fc4a2e2325a006d42b1df5c339549cdd2cb94.tar.gz
hdf5-8e2fc4a2e2325a006d42b1df5c339549cdd2cb94.tar.bz2
Remove checks for winsock2.h (#813)
This is only needed on Windows and always available, so there's no need to check for it.
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/io_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/io_timer.h b/tools/lib/io_timer.h
index 75db660..0b0f0bb 100644
--- a/tools/lib/io_timer.h
+++ b/tools/lib/io_timer.h
@@ -22,7 +22,7 @@
#include <sys/time.h>
#endif
-#ifdef H5_HAVE_WINSOCK2_H
+#ifdef H5_HAVE_WIN32_API
#include <winsock2.h>
#endif