Use GTK_COMPILATION throughout
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 May 2023 19:53:42 +0000 (15:53 -0400)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 9 May 2023 15:43:25 +0000 (16:43 +0100)
It is a bit ugly that it doesn't fit the neat
namespace schema, but it is what we use everywhere.

build-aux/meson/gen-visibility-macros.py

index 3416f3974ac266e77ca31d66dd30c81096b862b1..2f50c804a850734554dc3c82c7975b5b256ef304 100755 (executable)
@@ -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