Re: Inclusion of config.h in the example programs



On Mon, 2004-11-01 at 21:10 +0000, Tor Lillqvist wrote:

> That is presumably quite unnecesary. It's also counter-productive, as
> it might make people think that GTK's config.h file is supposed to be
> available when compiling software that just uses GTK. Which is not the
> case at all. If some developer package of GTK (or GLib, Pango, etc)
> includes the config.h file, that's an error.

Is it incorrect to put #ifdef CONFIG_H around the #include <config.h>?
(Or whatever autoconf sets as a flag these days.)


> 
> --tml
> 
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
-- 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]