From 1691f09a2b6a026e7b74bd27911be7d8dff95a18 Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Fri, 19 May 2023 21:04:43 +0100 Subject: [PATCH] 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 --- src/IVtkDraw/IVtkDraw_Interactor.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) 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