Like the rest of the GTK+ stack, force include GLib's
msvc_recommended_pragmas.h as we have done in the Visual Studio projects
so that we can silence some unwanted noise, as well as finding out
potential issues in the code.
https://bugzilla.gnome.org/show_bug.cgi?id=785802
add_project_arguments([ '-DG_DISABLE_SINGLE_INCLUDES', '-DATK_DISABLE_SINGLE_INCLUDES' ], language: 'c')
+if cc.get_id() == 'msvc'
+ add_project_arguments([ '-FImsvc_recommended_pragmas.h' ], language: 'c')
+endif
+
# Compiler and linker flags
common_cflags = []
common_ldflags = []