Don't compile JPEG error handler unless we have JPEG library...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2003-09-17 20:22:12 +00:00
parent db0939a599
commit f6f97dfe0e
+4 -2
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl_JPEG_Image.cxx,v 1.1.2.8 2003/09/15 23:52:37 easysw Exp $"
// "$Id: Fl_JPEG_Image.cxx,v 1.1.2.9 2003/09/17 20:22:12 easysw Exp $"
//
// Fl_JPEG_Image routines.
//
@@ -59,11 +59,13 @@ extern "C"
// Error handler for JPEG files...
//
#ifdef HAVE_LIBJPEG
static void
jpeg_error_handler(j_common_ptr)
{
return;
}
#endif // HAVE_LIBJPEG
//
@@ -120,5 +122,5 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *jpeg) // I - File to load
}
//
// End of "$Id: Fl_JPEG_Image.cxx,v 1.1.2.8 2003/09/15 23:52:37 easysw Exp $".
// End of "$Id: Fl_JPEG_Image.cxx,v 1.1.2.9 2003/09/17 20:22:12 easysw Exp $".
//