X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dfe9a1a1223995f068d6fc34f48f951d4e9d6a6..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/src/common/stdstream.cpp diff --git a/src/common/stdstream.cpp b/src/common/stdstream.cpp index 1fa0057642..0f4fea1836 100644 --- a/src/common/stdstream.cpp +++ b/src/common/stdstream.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/stdstream.h +// Name: src/common/stdstream.cpp // Purpose: Implementation of std::istream and std::ostream derived // wrappers for wxInputStream and wxOutputStream // Author: Jonathan Liu @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if wxUSE_STD_IOSTREAM +#if wxUSE_STREAMS && wxUSE_STD_IOSTREAM #ifndef WX_PRECOMP #endif @@ -39,7 +39,7 @@ namespace { -inline bool +bool IosSeekDirToWxSeekMode(std::ios_base::seekdir way, wxSeekMode& seekMode) { @@ -290,4 +290,4 @@ wxStdOutputStream::wxStdOutputStream(wxOutputStream& stream) : #endif // VC6/!VC6 -#endif // wxUSE_STD_IOSTREAM +#endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM