Fix builds without JPEG library...

src/Fl_JPEG_Image.cxx:
    - Surround FLTK JPEG state structure with #ifdef...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-02-24 20:28:49 +00:00
parent 3ee9c50180
commit c2873e6c63

View File

@ -59,10 +59,12 @@ extern "C"
// Custom JPEG error handling structure...
//
#ifdef HAVE_LIBJPEG
struct fl_jpeg_error_mgr {
jpeg_error_mgr pub_; // Destination manager...
int err_; // Error flag
};
#endif // HAVE_LIBJPEG
//