summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkconfig.h.win328
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/gdkconfig.h.win32 b/gdk/gdkconfig.h.win32
index 1258a460dd..7bd668e81e 100644
--- a/gdk/gdkconfig.h.win32
+++ b/gdk/gdkconfig.h.win32
@@ -10,6 +10,14 @@
extern "C" {
#endif /* __cplusplus */
+#ifndef GSEAL
+/* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */
+# ifdef GSEAL_ENABLE
+# define GSEAL(ident) _g_sealed__ ## ident
+# else
+# define GSEAL(ident) ident
+# endif
+#endif /* !GSEAL */
#define GDK_WINDOWING_WIN32