> From: Paul Eggert <egg...@cs.ucla.edu>
> Cc: bug-gnulib@gnu.org
> Date: Sun, 9 Oct 2016 10:10:38 -0700
> 
> Eli Zaretskii wrote:
> > I'm not sure what would be the best way of avoiding these errors
> 
> The usual method is to alter the gnulib .h file so that it merely 
> include_next's 
> the system .h file when it detects that its partial inclusion is desired. 
> Something like this:
> 
> #ifdef __need_FILE
> # @INCLUDE_NEXT@ @NEXT_STDIO_H@
> #elif !defined _GL_STDIO_H
> # @INCLUDE_NEXT@ @NEXT_STDIO_H@
> # define _GL_STDIO_H
>    /* our own fixups */
> #endif

I'm not sure I understand how this is different from what
e.g. Gnulib's wchar.h already does.  Can you point out the crucial
differences?

> It would be nicer if MinGW didn't have the problem in question. They could do 
> that by altering their include-file practices.

I agree.

Thanks.

Reply via email to