IMPLEMENT_DYNAMIC_CLASS(wxTIFFHandler,wxImageHandler)
+#if wxUSE_STREAMS
+
extern "C"
{
if ( !stream.Read(&hdr, WXSIZEOF(hdr)) )
return FALSE;
- stream.SeekI(-WXSIZEOF(hdr), wxFromCurrent);
-
return (hdr[0] == 'I' && hdr[1] == 'I') ||
(hdr[0] == 'M' && hdr[1] == 'M');
}
+#endif // wxUSE_STREAMS
-#endif
- // wxUSE_LIBTIFF
-
+#endif // wxUSE_LIBTIFF