#include "wx/defs.h"
-#if wxUSE_STREAMS && wxUSE_LIBJPEG
+#if wxUSE_LIBJPEG
#include "wx/image.h"
#include "wx/bitmap.h"
IMPLEMENT_DYNAMIC_CLASS(wxJPEGHandler,wxImageHandler)
#endif
+#if wxUSE_STREAMS
+
//------------- JPEG Data Source Manager
typedef struct {
return (hdr[0] == 0xFF && hdr[1] == 0xD8);
}
-#endif // wxUSE_STREAMS && wxUSE_LIBJPEG
+#endif // wxUSE_STREAMS
+
+#endif // wxUSE_LIBJPEG