0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / ShapeUpgrade / ShapeUpgrade_SplitCurve.hxx
index 1840898..b63ec00 100644 (file)
 #include <Standard_Boolean.hxx>
 #include <ShapeExtend_Status.hxx>
 
+// resolve name collisions with X11 headers
+#ifdef Status
+  #undef Status
+#endif
 
 class ShapeUpgrade_SplitCurve;
 DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitCurve, MMgt_TShared)