diff --git a/libs/tk/ytkmm/ytkmm/gtkmm.h b/libs/tk/ytkmm/ytkmm/gtkmm.h index d8448043d0..c489154775 100644 --- a/libs/tk/ytkmm/ytkmm/gtkmm.h +++ b/libs/tk/ytkmm/ytkmm/gtkmm.h @@ -84,10 +84,14 @@ extern const int gtkmm_major_version; extern const int gtkmm_minor_version; extern const int gtkmm_micro_version; +#ifndef COMPILER_MSVC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-copy" #include #pragma GCC diagnostic pop +#else +#include +#endif #include #include