diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-05-11 03:45:53 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-05-11 03:45:53 (GMT) |
commit | 102e4deecfafe4c1df0723f60be330ddd4cde965 (patch) | |
tree | e72e72b260082817e0b2e4995bf558eebe5126df /c++/src/H5FaccProp.cpp | |
parent | b6449ce42ea1892a7e9d9d3c7d74111ce653ab3f (diff) | |
download | hdf5-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.cpp')
-rw-r--r-- | c++/src/H5FaccProp.cpp | 2 |
1 files changed, 2 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 |