From 0daacc471911bccd9167a35aa83cd4ccd1a313f5 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Mon, 27 Jul 2009 15:54:15 +0200 Subject: "MAP" is a too common name to use it without #undef'ing it first Reviewed-by: TrustMe --- src/gui/painting/qtransform.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; \ -- cgit v0.12