summaryrefslogtreecommitdiffstats
path: root/windows/src
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-06-14 13:23:59 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-06-14 13:23:59 (GMT)
commitd05df8434b2eb7f1282615f701dbf7cbf9f1ac6e (patch)
tree0123db3821eb9e37dd215b5ab9f810b6af673a20 /windows/src
parent61952803b31af3761bac13490081a216f625bf97 (diff)
downloadhdf5-d05df8434b2eb7f1282615f701dbf7cbf9f1ac6e.zip
hdf5-d05df8434b2eb7f1282615f701dbf7cbf9f1ac6e.tar.gz
hdf5-d05df8434b2eb7f1282615f701dbf7cbf9f1ac6e.tar.bz2
[svn-r13863] Added H5FDwindows.c to Windows project files, although sec2 is still the default.
Also added a Windows-specific macro, WINDOWS_USE_STDIO, which users can define if they'd like the Windows VFD to use the buffered low-level I/O functions. This is instead of splitting our Windows driver into two separate drivers. By default, this macro is undefined. Tested: VS6 on WinXP
Diffstat (limited to 'windows/src')
-rwxr-xr-xwindows/src/H5pubconf.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h
index ea44bca..c75f93a 100755
--- a/windows/src/H5pubconf.h
+++ b/windows/src/H5pubconf.h
@@ -118,12 +118,18 @@ 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
+/* 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 don't want to build the windows file
driver */
-#define H5_HAVE_WINDOWS
+#define H5_HAVE_WINDOWS 1
-/* change the following line if you would like to change the default file driver */
-#define H5_DEFAULT_VFD H5FD_SEC2
+#ifdef H5_HAVE_WINDOWS
+/* uncomment the following line if you would like to use the buffered stdio
+ functions in the Windows file driver. */
+// #define WINDOWS_USE_STDIO 1
+#endif /* H5_HAVE_WINDOWS */
/* comment the following line out if you are not using N-bit filter*/
/* #define H5_HAVE_FILTER_NBIT 1*/