bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] same, utimecmp should depend on minmax


From: Derek Price
Subject: Re: [bug-gnulib] same, utimecmp should depend on minmax
Date: Thu, 19 May 2005 18:25:41 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Paul Eggert wrote:

>Sorry, I wasn't clear enough.  The problem I'm worried about is older
>hosts where <sys/param.h> defines MIN, and where <sys/param.h> also
>collides with other random include files.  If minmax.h has the
><sys/param.h> stuff in it, it will be more likely to cause problems in
>files that include it but not <sys/param.h>.
>
>(Though perhaps this is an argument against the <sys/param.h> stuff
>entirely -- I don't know.)
>  
>

Isn't there some sense to assuming that if <limits.h> or <sys/param.h>
define MIN & MAX on a system, then including said header is the
"correct" way of getting the definition on one of these systems?

Regards,

Derek





reply via email to

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