Skip to content

Commit

Permalink
Fix builds without JPEG library...
Browse files Browse the repository at this point in the history
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
  • Loading branch information
michaelrsweet committed Feb 24, 2005
1 parent 3ee9c50 commit c2873e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fl_JPEG_Image.cxx
Expand Up @@ -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


//
Expand Down

0 comments on commit c2873e6

Please sign in to comment.