summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-01-29 14:15:48 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-01-29 14:15:48 (GMT)
commitaea0b5b46e8a017de05ce2bcc3983a38444f6b51 (patch)
tree78c433b2be0d0fc942a9ac1b1087029e18c1fbfb /src
parentfec3d82085dfe7fc5b36ee00389c642d5ec36d72 (diff)
downloadhdf5-aea0b5b46e8a017de05ce2bcc3983a38444f6b51.zip
hdf5-aea0b5b46e8a017de05ce2bcc3983a38444f6b51.tar.gz
hdf5-aea0b5b46e8a017de05ce2bcc3983a38444f6b51.tar.bz2
[svn-r26071] Moved setting H5_DEFAULT_VFD from configure to src/H5private.h.
Fixes HDFFV-9081 Tested on: jam
Diffstat (limited to 'src')
-rw-r--r--src/H5config.h.in3
-rw-r--r--src/H5private.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 06e58da..29656b4 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -20,9 +20,6 @@
/* Define the default plugins path to compile */
#undef DEFAULT_PLUGINDIR
-/* Define the default virtual file driver to compile */
-#undef DEFAULT_VFD
-
/* Define if `dev_t' is a scalar */
#undef DEV_T_IS_SCALAR
diff --git a/src/H5private.h b/src/H5private.h
index f971504..e7de94b 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -160,6 +160,10 @@
#include <dirent.h>
#endif
+/* Define the default VFD for this platform.
+ * Since the removal of the Windows VFD, this is sec2 for all platforms.
+ */
+#define H5_DEFAULT_VFD H5FD_SEC2
#ifdef H5_HAVE_WIN32_API
/* The following two defines must be before any windows headers are included */