summaryrefslogtreecommitdiff
path: root/src/Fl_JPEG_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-26 14:22:02 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-26 14:22:02 +0000
commit1cfc6385dd1def16ce809793ff6358eb69d6f770 (patch)
tree99ec0fc68475bc4dc4d811d51f1dca0ce69f89f4 /src/Fl_JPEG_Image.cxx
parent7ce42e25927a18323aabe87e006a6f699aaf3f25 (diff)
BMP image loader fixes.
JPEG with Cygwin fix. Make sure that all generated files are removed with a "make distclean". Make sure we remove the autoconf cache directory when building the source distribution. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_JPEG_Image.cxx')
-rw-r--r--src/Fl_JPEG_Image.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx
index 183c41eba..0421b2bdf 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.5 2002/05/25 02:56:59 easysw Exp $"
+// "$Id: Fl_JPEG_Image.cxx,v 1.1.2.6 2002/07/26 14:22:02 easysw Exp $"
//
// Fl_JPEG_Image routines.
//
@@ -25,6 +25,7 @@
//
// Contents:
//
+// Fl_JPEG_Image::Fl_JPEG_Image() - Load a JPEG image file.
//
//
@@ -36,6 +37,16 @@
#include <stdio.h>
#include <stdlib.h>
+
+// Some releases of the Cygwin JPEG libraries don't have a correctly
+// updated header file for the INT32 data type; the following define
+// from Shane Hill seems to be a usable workaround...
+
+#if defined(WIN32) && defined(__CYGWIN__)
+# define XMD_H
+#endif // WIN32 && __CYGWIN__
+
+
extern "C"
{
#ifdef HAVE_LIBJPEG
@@ -96,5 +107,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.5 2002/05/25 02:56:59 easysw Exp $".
+// End of "$Id: Fl_JPEG_Image.cxx,v 1.1.2.6 2002/07/26 14:22:02 easysw Exp $".
//