bug-gnulib
[Top][All Lists]
Advanced

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

Re: MINT


From: Bruno Haible
Subject: Re: MINT
Date: Thu, 15 Jan 2009 21:47:19 +0100
User-agent: KMail/1.9.9

Hello,

Alan Hourihane wrote:
> On platforms that don't have them yet, and because gnulib doesn't
> support them (or use them currently) we need to change line 53 in
> gai_strerror.c from
> 
> #ifdef __USE_GNU
> 
> to just...
> 
> #if 0
> 
> Which allows gllib to build on platforms that don't have the extra
> definitions.

__USE_GNU is not supposed to be defined on any platform except on glibc
platforms, and glibc platforms have the macros EAI_INPROGRESS ...
EAI_IDN_ENCODE.

You can define _GNU_SOURCE on any platform (and it will have no effect
except on glibc systems), but you must not define __USE_GNU. The two
underscores with which this identifier starts make it easy to remember.

Bruno




reply via email to

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