summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-02-22 12:02:23 (GMT)
committeraavit <qt-info@nokia.com>2010-02-22 12:02:23 (GMT)
commit66fb4038649cfd1d660204bf7c70f99a409ede4f (patch)
tree28adc4be5dfc0f852d2f2a6b90bf32d8c0c2d8de /src/3rdparty/libpng
parentf1293735a4e828ec08931a2aa85ba96405ac3f76 (diff)
downloadQt-66fb4038649cfd1d660204bf7c70f99a409ede4f.zip
Qt-66fb4038649cfd1d660204bf7c70f99a409ede4f.tar.gz
Qt-66fb4038649cfd1d660204bf7c70f99a409ede4f.tar.bz2
Compilation fix for Symbian
Diffstat (limited to 'src/3rdparty/libpng')
-rw-r--r--src/3rdparty/libpng/pngpriv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/libpng/pngpriv.h b/src/3rdparty/libpng/pngpriv.h
index 13c2b3f..87a4ba6 100644
--- a/src/3rdparty/libpng/pngpriv.h
+++ b/src/3rdparty/libpng/pngpriv.h
@@ -74,7 +74,9 @@
#if defined(WIN32) || defined(_Windows) || defined(_WINDOWS) || \
defined(_WIN32) || defined(__WIN32__)
-# include <windows.h> /* defines _WINDOWS_ macro */
+# if !defined(__SYMBIAN32__)
+# include <windows.h> /* defines _WINDOWS_ macro */
+# endif
/* I have no idea why is this necessary... */
# ifdef _MSC_VER
# include <malloc.h>