X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..7fa4dc1cfcc55b0fe425a3ebe5e992ff8255481b:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 2770a5df20..1f72c00bd6 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -18,7 +18,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "stream.h" #endif @@ -454,7 +454,7 @@ size_t wxStreamBuffer::Write(const void *buffer, size_t size) m_stream->Reset(); } - size_t ret = 0; + size_t ret; if ( !HasBuffer() && m_fixed ) {