bug-gnulib
[Top][All Lists]
Advanced

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

Re: select self-tests causes build failures under mingw


From: Bruno Haible
Subject: Re: select self-tests causes build failures under mingw
Date: Tue, 18 Nov 2008 10:35:11 +0100
User-agent: KMail/1.5.4

Simon Josefsson wrote:
> > First of all, would this be fixed by moving the define into lib/time.in.h?
> 
> If the generated time.h file is placed in gl/tests/, then I think it
> would work.  But if it ends up in gl/ the src/*.c files will #include
> it, and there will be the same problem again.

Yes, exactly. The problem is that there is only one GNULIB_XYZ indicator
macro for each XYZ module.

> I'm not sure gnulib-tool
> supports time.h in both gl/ and gl/tests with different definitions?

If the compiler supports #include_next, it will work. If not, it will work
if the second one is a superset of the first one (which is the case for
you, if I understand it right).

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]