Protect included headers with the proper autoconf macros
fgouget at free.fr
Wed Aug 10 05:18:06 CDT 2005
On Wed, 10 Aug 2005, Jacek Caban wrote:
> But it won't change anything as if HAVE_LIBXML2 is defined
> then HAVE_LIBXML_PARSER_H is defined too, so
> #ifdef HAVE_LIBXML_PARSER_H will be always true here.
Yes but if you remove the #ifdef HAVE_LIBXML_PARSER_H check
winapi_check will rightly complain that the include is unprotected
because it, nor the casual reader, will know all the complex relations
between HAVE_LIBXML_PARSER_H and HAVE_LIBXML2.
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Hiroshima '45 - Czernobyl '86 - Windows '95
More information about the wine-devel