X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b93d8cc460d43840abb28f0f67f8c59c1af4bbd0:/src/common/sckfile.cpp?ds=inline diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index e48f33693f..5dbc6a0c12 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -6,9 +6,9 @@ // Created: 20/07/97 // RCS-ID: $Id$ // Copyright: (c) 1997, 1998 Guilhem Lavaux -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "sckfile.h" #endif @@ -23,7 +23,7 @@ #include "wx/defs.h" #endif -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE #include #include "wx/wfstream.h" @@ -46,5 +46,5 @@ wxInputStream *wxFileProto::GetInputStream(const wxString& path) return new wxFileInputStream(path); } -#endif +#endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE