diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-07-27 13:54:15 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-07-27 13:57:30 (GMT) |
commit | 0daacc471911bccd9167a35aa83cd4ccd1a313f5 (patch) | |
tree | b00cbe78acdc3217c827b4531c61258f88a9470c /src/gui | |
parent | 85a410db4ded672566cb621ab1e13da691d26891 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/painting/qtransform.cpp | 4 |
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; \ |