X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9b32d5c4fd7156164b7c264d0f88dfe264851ba..96db102a93ed103a1c757c4445dd71789c2d0054:/src/common/imagpnm.cpp diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index d50e4247a2..28bf08eba3 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -23,7 +23,7 @@ # include "wx/setup.h" #endif -#if wxUSE_STREAMS && wxUSE_PNM +#if wxUSE_PNM #include "wx/image.h" #include "wx/log.h" @@ -37,6 +37,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNMHandler,wxImageHandler) #endif +#if wxUSE_STREAMS void Skip_Comment(wxInputStream &stream) { @@ -155,5 +156,6 @@ bool wxPNMHandler::CanRead( wxInputStream& stream ) } -#endif // wxUSE_STREAMS && wxUSE_PNM +#endif // wxUSE_STREAMS +#endif // wxUSE_PNM