summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST4
-rw-r--r--src/H5F.c1
-rw-r--r--src/H5FD.c4
-rw-r--r--src/H5FDwindows.c (renamed from windows/src/H5FDwindows.c)0
-rw-r--r--src/H5FDwindows.h (renamed from windows/src/H5FDwindows.h)0
-rw-r--r--src/H5Pfapl.c4
-rw-r--r--src/hdf5.h1
-rwxr-xr-xwindows/copy_hdf.bat2
-rwxr-xr-xwindows/src/H5pubconf.h7
9 files changed, 18 insertions, 5 deletions
diff --git a/MANIFEST b/MANIFEST
index 12b5452..36010cd 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -507,6 +507,8 @@
./src/H5FDstdio.h
./src/H5FDstream.c
./src/H5FDstream.h
+./src/H5FDwindows.c
+./src/H5FDwindows.h
./src/H5FL.c
./src/H5FLprivate.h
./src/H5FO.c
@@ -1743,8 +1745,6 @@
#windows src
./windows/src/H5pubconf.h
./windows/src/H5Tinit.c
-./windows/src/H5FDwindows.c
-./windows/src/H5FDwindows.h
#windows test
./windows/test/big/big.dsp
diff --git a/src/H5F.c b/src/H5F.c
index 6f8796b..b175982 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -41,6 +41,7 @@
#include "H5FDmulti.h" /*multiple files partitioned by mem usage */
#include "H5FDsec2.h" /*Posix unbuffered I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#include "H5FDwindows.h" /* Windows buffered I/O */
#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 198757b..2a69e47 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -43,6 +43,7 @@
#include "H5FDmulti.h" /* Usage-partitioned file family */
#include "H5FDsec2.h" /* POSIX unbuffered file I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#include "H5FDwindows.h" /* Windows buffered I/O */
#include "H5FDstream.h" /* In-memory files streamed via sockets */
#include "H5FDdirect.h" /* Direct file I/O */
#include "H5FLprivate.h" /* Free lists */
@@ -169,6 +170,9 @@ H5FD_term_interface(void)
#endif
H5FD_log_term();
H5FD_stdio_term();
+#ifdef H5_HAVE_WINDOWS
+ H5FD_windows_term();
+#endif
H5FD_family_term();
H5FD_core_term();
H5FD_multi_term();
diff --git a/windows/src/H5FDwindows.c b/src/H5FDwindows.c
index 7a08d33..7a08d33 100644
--- a/windows/src/H5FDwindows.c
+++ b/src/H5FDwindows.c
diff --git a/windows/src/H5FDwindows.h b/src/H5FDwindows.h
index 8277f149..8277f149 100644
--- a/windows/src/H5FDwindows.h
+++ b/src/H5FDwindows.h
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index dcb249c..d2e80f2 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -41,8 +41,10 @@
#include "H5Iprivate.h" /* IDs */
#include "H5Ppkg.h" /* Property lists */
-/* Default file driver - see H5Pget_driver() */
+/* 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 */
+#include "H5FDwindows.h" /* Windows buffered I/O */
/****************/
diff --git a/src/hdf5.h b/src/hdf5.h
index fe35a3e..7b9e268 100644
--- a/src/hdf5.h
+++ b/src/hdf5.h
@@ -47,6 +47,7 @@
#include "H5FDmulti.h" /* Usage-partitioned file family */
#include "H5FDsec2.h" /* POSIX unbuffered file I/O */
#include "H5FDstdio.h" /* Standard C buffered I/O */
+#include "H5FDwindows.h" /* Windows buffered I/O */
#include "H5FDstream.h" /* In-memory files streamed via sockets */
#include "H5FDdirect.h" /* Linux direct I/O */
diff --git a/windows/copy_hdf.bat b/windows/copy_hdf.bat
index c7b7686..74f58eb 100755
--- a/windows/copy_hdf.bat
+++ b/windows/copy_hdf.bat
@@ -20,8 +20,6 @@
copy src\H5Tinit.c ..\src
copy src\H5pubconf.h ..\src
-copy src\H5FDwindows.c ..\src
-copy src\H5FDwindows.h ..\src
copy fortran\src\H5f90i_gen.h ..\fortran\src
copy fortran\src\H5fortran_types.f90 ..\fortran\src
xcopy /e/i/Y *.bat ..\
diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h
index 6942fc1..ea44bca 100755
--- a/windows/src/H5pubconf.h
+++ b/windows/src/H5pubconf.h
@@ -118,6 +118,13 @@ in the file file_io.win32.c and including it on the projects
#define H5_HAVE_SZLIB_H 1
#define H5_HAVE_FILTER_SZIP 1
+/* comment the following line out if you don't want to build the windows file
+ driver */
+#define H5_HAVE_WINDOWS
+
+/* change the following line if you would like to change the default file driver */
+#define H5_DEFAULT_VFD H5FD_SEC2
+
/* comment the following line out if you are not using N-bit filter*/
/* #define H5_HAVE_FILTER_NBIT 1*/