summaryrefslogtreecommitdiff
path: root/cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw.cxx
blob: 3184727b086b743b9bb65c5e1c4f668ffe18a70a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/IVtkDraw/IVtkDraw.cxx.orig	2020-11-03 14:50:01 UTC
+++ src/IVtkDraw/IVtkDraw.cxx
@@ -36,6 +36,12 @@
 #include <V3d_TypeOfOrientation.hxx>
 #include <Aspect_DisplayConnection.hxx>
 
+// Preventing naming collisions between
+// GLX and VTK versions 9.0 and above
+#ifdef AllValues
+#undef AllValues
+#endif
+
 #include <IVtk_Types.hxx>
 #include <IVtkVTK_ShapeData.hxx>
 #include <IVtkOCC_Shape.hxx>