summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qtransform.cpp
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-07-27 13:54:15 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-07-27 13:57:30 (GMT)
commit0daacc471911bccd9167a35aa83cd4ccd1a313f5 (patch)
treeb00cbe78acdc3217c827b4531c61258f88a9470c /src/gui/painting/qtransform.cpp
parent85a410db4ded672566cb621ab1e13da691d26891 (diff)
downloadQt-0daacc471911bccd9167a35aa83cd4ccd1a313f5.zip
Qt-0daacc471911bccd9167a35aa83cd4ccd1a313f5.tar.gz
Qt-0daacc471911bccd9167a35aa83cd4ccd1a313f5.tar.bz2
"MAP" is a too common name to use it without #undef'ing it first
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/painting/qtransform.cpp')
-rw-r--r--src/gui/painting/qtransform.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/painting/qtransform.cpp b/src/gui/painting/qtransform.cpp
index f0b2351..45939c1 100644
--- a/src/gui/painting/qtransform.cpp
+++ b/src/gui/painting/qtransform.cpp
@@ -52,7 +52,9 @@ QT_BEGIN_NAMESPACE
#define Q_NEAR_CLIP 0.000001
-
+#ifdef MAP
+# undef MAP
+#endif
#define MAP(x, y, nx, ny) \
do { \
qreal FX_ = x; \