0028838: Configuration - undefine macros coming from X11 headers in place of collision
[occt.git] / src / math / math_Matrix.hxx
index a729d83..b5edbb4 100644 (file)
 #include <Standard_Address.hxx>
 #include <math_Vector.hxx>
 #include <Standard_OStream.hxx>
-class Standard_DimensionError;
-class Standard_RangeError;
-class Standard_DivideByZero;
-class math_NotSquare;
-class math_SingularMatrix;
-class math_Vector;
 
+// resolve name collisions with X11 headers
+#ifdef Opposite
+  #undef Opposite
+#endif
 
 //! This class implements the real matrix abstract data type.
 //! Matrixes can have an arbitrary range which must be defined