X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39d16996b7616bf8090b140db74fd0b52d50d169..dd38c87578df7a24a491401c943988e2bc89b62b:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 16c952d297..741bc36472 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -47,6 +47,8 @@ extern "C" IMPLEMENT_DYNAMIC_CLASS(wxTIFFHandler,wxImageHandler) +#if wxUSE_STREAMS + extern "C" { @@ -377,8 +379,7 @@ bool wxTIFFHandler::DoCanRead( wxInputStream& stream ) (hdr[0] == 'M' && hdr[1] == 'M'); } +#endif // wxUSE_STREAMS -#endif - // wxUSE_LIBTIFF - +#endif // wxUSE_LIBTIFF