mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 03:32:12 +01:00
Fix include order of glib-visibility.h
It uses macros from glibconfig.h, gmacros.h and gversionmacros.h, makes sure it is included after them.
This commit is contained in:
parent
5215463a03
commit
0db49cc57b
@ -18,7 +18,6 @@
|
|||||||
#mesondefine GMODULE_STATIC_COMPILATION
|
#mesondefine GMODULE_STATIC_COMPILATION
|
||||||
#mesondefine G_INTL_STATIC_COMPILATION
|
#mesondefine G_INTL_STATIC_COMPILATION
|
||||||
#mesondefine FFI_STATIC_BUILD
|
#mesondefine FFI_STATIC_BUILD
|
||||||
#include <glib/glib-visibility.h>
|
|
||||||
|
|
||||||
/* Specifies that GLib's g_print*() functions wrap the
|
/* Specifies that GLib's g_print*() functions wrap the
|
||||||
* system printf functions. This is useful to know, for example,
|
* system printf functions. This is useful to know, for example,
|
||||||
|
@ -34,6 +34,10 @@
|
|||||||
#include <glibconfig.h>
|
#include <glibconfig.h>
|
||||||
#include <glib/gmacros.h>
|
#include <glib/gmacros.h>
|
||||||
#include <glib/gversionmacros.h>
|
#include <glib/gversionmacros.h>
|
||||||
|
|
||||||
|
/* Must be included after the 3 headers above */
|
||||||
|
#include <glib/glib-visibility.h>
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user