summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-03 11:31:50 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-04 23:32:57 +0100
commit646f74937f00e508a5b25a003333569e907013d7 (patch)
tree9bfc901b7adcfde4e16763b53b5939e774d83d03
parent2b054e6135cbce030a642157dc1345f9dd42950b (diff)
downloadrockbox-646f74937f00e508a5b25a003333569e907013d7.tar.gz
rockbox-646f74937f00e508a5b25a003333569e907013d7.tar.bz2
rockbox-646f74937f00e508a5b25a003333569e907013d7.zip
Fix compiling with MSVC.
MSVC doesn't understand the gcc specific -Wno-unused-local-typedefs option. Don't add it in this case. Change-Id: I7ffb6c0c9c797eaad85975199c386020c464ca7b
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 00e0c87c8f..a0ff344fbb 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -156,7 +156,7 @@ dbg {
DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC
# check version of Qt installation
-!contains(QT_MAJOR_VERSION, 5):!macx {
+!contains(QT_MAJOR_VERSION, 5):!macx:!*-msvc* {
# suppress warnings in Qt 4.8 shown by gcc 4.8
QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
}