mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 15:46:52 +08:00
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:
@@ -59,10 +59,12 @@ extern "C"
|
|||||||
// Custom JPEG error handling structure...
|
// Custom JPEG error handling structure...
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBJPEG
|
||||||
struct fl_jpeg_error_mgr {
|
struct fl_jpeg_error_mgr {
|
||||||
jpeg_error_mgr pub_; // Destination manager...
|
jpeg_error_mgr pub_; // Destination manager...
|
||||||
int err_; // Error flag
|
int err_; // Error flag
|
||||||
};
|
};
|
||||||
|
#endif // HAVE_LIBJPEG
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user