summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCédric OCHS <kervala@gmail.com>2011-03-28 11:28:00 (GMT)
committerQt Commercial Integration <QtCommercial@digia.com>2012-01-31 10:24:56 (GMT)
commitaf43ab1bd73b908f2f82d65fe8fa8c62f5c78084 (patch)
tree5e23dc54ae3e1e30958c7011a566c0876ab7af6b /src
parent99ba5f8517b99d60d96f73f5743683d9898877ae (diff)
downloadQt-af43ab1bd73b908f2f82d65fe8fa8c62f5c78084.zip
Qt-af43ab1bd73b908f2f82d65fe8fa8c62f5c78084.tar.gz
Qt-af43ab1bd73b908f2f82d65fe8fa8c62f5c78084.tar.bz2
Fix errors when compiling Qt with STLport
Task-number: QTBUG-18374 Reviewed-by: Olivier Goffart Merge-request: 1157
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/clucene/src/CLucene/config/CompilerMsvc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/clucene/src/CLucene/config/CompilerMsvc.h b/src/3rdparty/clucene/src/CLucene/config/CompilerMsvc.h
index 82ff9aa..0021ea3 100644
--- a/src/3rdparty/clucene/src/CLucene/config/CompilerMsvc.h
+++ b/src/3rdparty/clucene/src/CLucene/config/CompilerMsvc.h
@@ -22,7 +22,9 @@
# pragma warning(disable: 4512) // This would be very annoying
# pragma warning(disable: 4290) // Ignore exception specification warning
# pragma warning(disable: 4250) // Ignore 'class1' : inherits 'class2::member' via dominance (e.g. in MultiReader)
- #if (_MSC_VER < 1310)
+ // Check for STLport presence
+ #include <string>
+ #if (_MSC_VER < 1310) || defined(_STLPORT_VERSION)
#define CL_NS_HASHING(func) std::func //the namespace is different on VC 7.0
#else
#define CL_NS_HASHING(func) stdext::func