aboutsummaryrefslogtreecommitdiff
path: root/ports/qtbase/jpeg.patch
blob: 1f2080561e300dedcb08980a4e89892d83e2e9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/plugins/imageformats/jpeg/qjpeghandler.cpp b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
index 29bf5ab58..1a3cfd2bf 100644
--- a/src/plugins/imageformats/jpeg/qjpeghandler.cpp
+++ b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
@@ -63,12 +63,12 @@
 extern "C" {
 // jpeglib.h->jmorecfg.h tries to typedef int boolean; but this conflicts with
 // some Windows headers that may or may not have been included
-#ifdef HAVE_BOOLEAN
-#  undef HAVE_BOOLEAN
-#endif
-#define boolean jboolean
+//#ifdef HAVE_BOOLEAN
+//#  undef HAVE_BOOLEAN
+//#endif
+//#define boolean jboolean
 
-#define XMD_H           // shut JPEGlib up
+//#define XMD_H           // shut JPEGlib up
 #include <jpeglib.h>
 #ifdef const
 #  undef const          // remove crazy C hackery in jconfig.h