Introduce GSEAL() macro.

* configure.in: define GSEAL() when generating gdkconfig.h

svn path=/trunk/; revision=20478
This commit is contained in:
Tim Janik 2008-06-20 10:48:22 +00:00
parent 2ba736d775
commit a72fdab93f

View File

@ -1901,6 +1901,15 @@ AC_CONFIG_COMMANDS([gdk/gdkconfig.h], [
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 */
_______EOF
cat >>$outfile <<_______EOF