0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / ShapeFix / ShapeFix_Face.hxx
index dcb6f8d..9fc7d07 100644 (file)
 #include <ShapeExtend_Status.hxx>
 class ShapeAnalysis_Surface;
 class ShapeFix_Wire;
-class TopoDS_Face;
 class Geom_Surface;
 class ShapeExtend_BasicMsgRegistrator;
 class TopoDS_Wire;
 class ShapeExtend_WireData;
 class TopoDS_Vertex;
 
+// resolve name collisions with X11 headers
+#ifdef Status
+  #undef Status
+#endif
 
 class ShapeFix_Face;
 DEFINE_STANDARD_HANDLE(ShapeFix_Face, ShapeFix_Root)