summaryrefslogtreecommitdiff
path: root/gdk/gdkconfig.h.meson
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-11-27 13:33:43 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-11-27 13:33:43 +0000
commitdef700739d4f1884be25c63f9df32c583fe4418a (patch)
treeb153cea8052a45d1985e5d9105107dea56d37844 /gdk/gdkconfig.h.meson
parent9f69c7f3e8809af6e97825ae5dd2191c6d4008fc (diff)
downloadgtk+-def700739d4f1884be25c63f9df32c583fe4418a.tar.gz
Use a single compilation symbol
We use a compilation symbol in our build to allow the inclusion of specific headers while building GTK, to avoid the need to include only the global header. Each namespace has its own compilation symbol because we used to have different libraries, and strict symbol visibility between libraries; now that we have a single library, and we can use private symbols across namespaces while building GTK, we should have a single compilation symbol, and simplify the build rules.
Diffstat (limited to 'gdk/gdkconfig.h.meson')
-rw-r--r--gdk/gdkconfig.h.meson2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson
index 115c612d82..e65e3c9408 100644
--- a/gdk/gdkconfig.h.meson
+++ b/gdk/gdkconfig.h.meson
@@ -1,7 +1,7 @@
#ifndef __GDKCONFIG_H__
#define __GDKCONFIG_H__
-#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
#endif