0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / TopoDS / TopoDS_TShape.hxx
index a2736fa..0cb0292 100644 (file)
 #include <MMgt_TShared.hxx>
 #include <Standard_Boolean.hxx>
 #include <TopAbs_ShapeEnum.hxx>
-class Standard_ConstructionError;
+
 class TopoDS_Iterator;
 class TopoDS_Builder;
 
+// resolve name collisions with X11 headers
+#ifdef Convex
+  #undef Convex
+#endif
 
 class TopoDS_TShape;
 DEFINE_STANDARD_HANDLE(TopoDS_TShape, MMgt_TShared)