0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / SelectMgr / SelectMgr_ViewerSelector.hxx
index 42b07ed..29330de 100644 (file)
@@ -37,6 +37,10 @@ class SelectMgr_SensitiveEntitySet;
 class SelectMgr_EntityOwner;
 class SelectBasics_SensitiveEntity;
 
+// resolve name collisions with X11 headers
+#ifdef Status
+  #undef Status
+#endif
 typedef NCollection_DataMap<Handle(SelectMgr_SelectableObject), Handle(SelectMgr_SensitiveEntitySet) > SelectMgr_MapOfObjectSensitives;
 typedef NCollection_DataMap<Handle(SelectMgr_SelectableObject), Handle(SelectMgr_SensitiveEntitySet) >::Iterator SelectMgr_MapOfObjectSensitivesIterator;