diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-17 20:22:12 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-09-17 20:22:12 +0000 |
| commit | f6f97dfe0e84463cf6873096398f4bb725045566 (patch) | |
| tree | fb1b4af37b087b526bb9794fd76c225e400d26f2 | |
| parent | db0939a599520406e94fda2ffbec5ce1c3c40a04 (diff) | |
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
| -rw-r--r-- | src/Fl_JPEG_Image.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index 1752b1c6e..1b465eeeb 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -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 $". // |
