diff --git a/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h b/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h index 682a082992..5deee3f0e3 100644 --- a/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h +++ b/libs/tk/ytkmm/ytkmm/gtkmm/stockid.h @@ -23,10 +23,14 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef COMPILER_MSVC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-copy" #include #pragma GCC diagnostic pop +#else +#include +#endif namespace Gtk {