Merge branch 'fix-visibility' into 'main'

Fix include order of glib-visibility.h

See merge request GNOME/glib!2957
This commit is contained in:
Philip Withnall 2022-10-17 16:15:40 +00:00
commit 2715e91ee9
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,6 @@
#mesondefine GMODULE_STATIC_COMPILATION
#mesondefine G_INTL_STATIC_COMPILATION
#mesondefine FFI_STATIC_BUILD
#include <glib/glib-visibility.h>
/* Specifies that GLib's g_print*() functions wrap the
* system printf functions. This is useful to know, for example,

View File

@ -34,6 +34,10 @@
#include <glibconfig.h>
#include <glib/gmacros.h>
#include <glib/gversionmacros.h>
/* Must be included after the 3 headers above */
#include <glib/glib-visibility.h>
#include <time.h>
G_BEGIN_DECLS