13
0

Guard some pragmas which aren't understood by MSVC

This commit is contained in:
John Emmas 2024-11-03 11:50:44 +00:00
parent 1b13bf607f
commit 44068a63f5

View File

@ -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 <glibmm.h>
#pragma GCC diagnostic pop
#else
#include <glibmm.h>
#endif
namespace Gtk
{