summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-04 12:08:32 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-04 12:30:39 (GMT)
commitc5264c89b7710dc2f2d8c7c604f0b23852cb2eef (patch)
tree4388d8b406284cefd17804fe12b260b0ec1666f1 /src/gui/egl
parented1f672efb19932fe279a3ebfedb973c02c4fee4 (diff)
downloadQt-c5264c89b7710dc2f2d8c7c604f0b23852cb2eef.zip
Qt-c5264c89b7710dc2f2d8c7c604f0b23852cb2eef.tar.gz
Qt-c5264c89b7710dc2f2d8c7c604f0b23852cb2eef.tar.bz2
Fix build when egl.h includes X11 headers & pollutes namespace
At some point we should fix the include order in all the .cpp files, however #udef'ing the defines we use elsewhere seems to work for now. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/egl')
-rw-r--r--src/gui/egl/qegl_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_p.h b/src/gui/egl/qegl_p.h
index aa89772..ffb45aa 100644
--- a/src/gui/egl/qegl_p.h
+++ b/src/gui/egl/qegl_p.h
@@ -77,6 +77,8 @@ QT_BEGIN_INCLUDE_NAMESPACE
#undef Type
#undef FontChange
#undef CursorShape
+#undef Unsorted
+#undef GrayScale
#endif
// Internally we use the EGL-prefixed native types which are used in EGL >= 1.3.