Use GTK_COMPILATION throughout

It is a bit ugly that it doesn't fit the neat
namespace schema, but it is what we use everywhere.
This commit is contained in:
Matthias Clasen
2023-05-08 15:53:42 -04:00
committed by Emmanuele Bassi
parent e216f469a1
commit 3a2c4be44b

View File

@@ -106,7 +106,7 @@ def gen_visibility_macros(args, current_major_version, current_minor_version, cu
# define _{ns}_EXPORT
# define _{ns}_IMPORT
#endif
#ifdef {ns}_COMPILATION
#ifdef GTK_COMPILATION
# define _{ns}_API _{ns}_EXPORT
#else
# define _{ns}_API _{ns}_IMPORT