0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / ShapeBuild / ShapeBuild_ReShape.hxx
index 3e24522..06ae83d 100644 (file)
 #include <ShapeExtend_Status.hxx>
 class TopoDS_Shape;
 
+// resolve name collisions with X11 headers
+#ifdef Status
+  #undef Status
+#endif
 
 class ShapeBuild_ReShape;
 DEFINE_STANDARD_HANDLE(ShapeBuild_ReShape, BRepTools_ReShape)