summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/src/H5FaccProp.cpp2
-rw-r--r--c++/src/H5FaccProp.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5FaccProp.cpp b/c++/src/H5FaccProp.cpp
index 7ae126d..50dc91a 100644
--- a/c++/src/H5FaccProp.cpp
+++ b/c++/src/H5FaccProp.cpp
@@ -277,6 +277,7 @@ void FileAccPropList::setSplit( FileAccPropList& meta_plist, FileAccPropList& ra
setSplit( meta_plist, raw_plist, meta_ext.c_str(), raw_ext.c_str() );
}
+#ifdef H5_HAVE_STREAM // for Stream Virtual File Driver
//--------------------------------------------------------------------------
// Function: FileAccPropList::getStream
///\brief Retrieves the streaming I/O driver settings
@@ -316,6 +317,7 @@ void FileAccPropList::setStream(H5FD_stream_fapl_t &fapl) const
throw PropListIException("FileAccPropList::setStream", "H5Pset_fapl_stream failed");
}
}
+#endif // Stream Virtual File Driver
//--------------------------------------------------------------------------
// Function: FileAccPropList::getSieveBufSize
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;