summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-08-24 00:12:13 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-08-24 00:12:13 (GMT)
commit9374c12ee1a21768a2e364a052b2374ce6a1ac39 (patch)
tree69d8e3de5d84c2f201bd24d6e20b7c563651eebf /src/gui
parentae2ae7dfe55478f7036dfb9f301cac9f67d89f5c (diff)
parente410dad4f2ee6f381551303bd45651b3f0406e5a (diff)
downloadQt-9374c12ee1a21768a2e364a052b2374ce6a1ac39.zip
Qt-9374c12ee1a21768a2e364a052b2374ce6a1ac39.tar.gz
Qt-9374c12ee1a21768a2e364a052b2374ce6a1ac39.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-tools-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-tools-staging: Fix compilation of qjpeg on MinGW with GCC 4.6
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/image/qjpeghandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/image/qjpeghandler.cpp b/src/gui/image/qjpeghandler.cpp
index 673a6d6..8fea456 100644
--- a/src/gui/image/qjpeghandler.cpp
+++ b/src/gui/image/qjpeghandler.cpp
@@ -74,6 +74,11 @@ extern "C" {
#endif
}
+#if defined(JPEG_TRUE) && !defined(HAVE_BOOLEAN)
+// this jpeglib.h uses JPEG_boolean
+typedef JPEG_boolean boolean;
+#endif
+
QT_BEGIN_NAMESPACE
void QT_FASTCALL convert_rgb888_to_rgb32_C(quint32 *dst, const uchar *src, int len)