From: dpasukhi Date: Fri, 19 May 2023 20:04:43 +0000 (+0100) Subject: 0033372: Visualization - Compilation of git master fails against vtk 9.2.6 X-Git-Tag: V7_7_2~6 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1691f09a2b6a026e7b74bd27911be7d8dff95a18;p=occt.git 0033372: Visualization - Compilation of git master fails against vtk 9.2.6 Fixed compilation on vtk 9.2.6. Resolved name collisions with X11 headers --- diff --git a/src/IVtkDraw/IVtkDraw_Interactor.cxx b/src/IVtkDraw/IVtkDraw_Interactor.cxx index 08e5fe3dde..06626bb315 100644 --- a/src/IVtkDraw/IVtkDraw_Interactor.cxx +++ b/src/IVtkDraw/IVtkDraw_Interactor.cxx @@ -27,6 +27,15 @@ #undef AllValues #endif +// Resolve name collisions with X11 headers +#ifdef Status +#undef Status +#endif + +#ifdef Success +#undef Success +#endif + #include #include #endif