summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5F.c2
-rw-r--r--src/H5FD.c2
-rw-r--r--src/H5Pfapl.c2
-rw-r--r--src/hdf5.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/H5F.c b/src/H5F.c
index b175982..87bb111 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -41,7 +41,9 @@
#include "H5FDmulti.h" /*multiple files partitioned by mem usage */
#include "H5FDsec2.h" /*Posix unbuffered I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#ifdef H5_HAVE_WINDOWS
#include "H5FDwindows.h" /* Windows buffered I/O */
+#endif
#include "H5FDstream.h" /*in-memory files streamed via sockets */
#include "H5FDdirect.h" /*Linux direct I/O */
diff --git a/src/H5FD.c b/src/H5FD.c
index 2a69e47..550773a 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -43,7 +43,9 @@
#include "H5FDmulti.h" /* Usage-partitioned file family */
#include "H5FDsec2.h" /* POSIX unbuffered file I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#ifdef H5_HAVE_WINDOWS
#include "H5FDwindows.h" /* Windows buffered I/O */
+#endif
#include "H5FDstream.h" /* In-memory files streamed via sockets */
#include "H5FDdirect.h" /* Direct file I/O */
#include "H5FLprivate.h" /* Free lists */
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index d2e80f2..81dba0c 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -44,7 +44,9 @@
/* Includes needed to set as default file driver */
#include "H5FDsec2.h" /* Posix unbuffered I/O file driver */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#ifdef H5_HAVE_WINDOWS
#include "H5FDwindows.h" /* Windows buffered I/O */
+#endif
/****************/
diff --git a/src/hdf5.h b/src/hdf5.h
index 7b9e268..20f4cd9 100644
--- a/src/hdf5.h
+++ b/src/hdf5.h
@@ -47,7 +47,9 @@
#include "H5FDmulti.h" /* Usage-partitioned file family */
#include "H5FDsec2.h" /* POSIX unbuffered file I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#ifdef H5_HAVE_WINDOWS
#include "H5FDwindows.h" /* Windows buffered I/O */
+#endif
#include "H5FDstream.h" /* In-memory files streamed via sockets */
#include "H5FDdirect.h" /* Linux direct I/O */