summaryrefslogtreecommitdiffstats
path: root/c++/src/H5FaccProp.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-11 03:45:53 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-11 03:45:53 (GMT)
commit102e4deecfafe4c1df0723f60be330ddd4cde965 (patch)
treee72e72b260082817e0b2e4995bf558eebe5126df /c++/src/H5FaccProp.h
parentb6449ce42ea1892a7e9d9d3c7d74111ce653ab3f (diff)
downloadhdf5-102e4deecfafe4c1df0723f60be330ddd4cde965.zip
hdf5-102e4deecfafe4c1df0723f60be330ddd4cde965.tar.gz
hdf5-102e4deecfafe4c1df0723f60be330ddd4cde965.tar.bz2
[svn-r8502] Purpose:
Fix bug #124 (Bugzilla) Description: Build failed on Windows because the C++ API provides support for Stream VFD, yet this feature is disabled on Windows, making its support from the C library unavailable. Solution: Added #ifdef H5_HAVE_STREAM to properly support Stream VFD. Platforms tested: Linux 2.4 (eirene) Windows 2000 Misc. update:
Diffstat (limited to 'c++/src/H5FaccProp.h')
-rw-r--r--c++/src/H5FaccProp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c++/src/H5FaccProp.h b/c++/src/H5FaccProp.h
index 2063249..e10c7d0 100644
--- a/c++/src/H5FaccProp.h
+++ b/c++/src/H5FaccProp.h
@@ -69,11 +69,13 @@ class H5_DLLCPP FileAccPropList : public PropList {
void setSplit( FileAccPropList& meta_plist, FileAccPropList& raw_plist,
const string& meta_ext, const string& raw_ext ) const;
+#ifdef H5_HAVE_STREAM // for Stream Virtual File Driver
// Modifies this file access property list to use the Stream driver.
void setStream(H5FD_stream_fapl_t &fapl) const;
// Retrieves the streaming I/O driver settings
H5FD_stream_fapl_t getStream() const;
+#endif
// Sets the maximum size of the data sieve buffer.
void setSieveBufSize(size_t bufsize) const;