bug-gnu-chess
[Top][All Lists]
Advanced

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

Re: Build testing on GNU Chess 5.06


From: Chess
Subject: Re: Build testing on GNU Chess 5.06
Date: Wed, 05 Mar 2003 20:06:10 -0600

At 10:58 PM 3/5/03 +0000, Simon Waters wrote:
HP-UX complains that Macros "MIN" and "MAX" are already declared
in one of it's header files, next thing to check is if this is
the cause of the hangs.

How are we suppose to keep CPP macro namespace from having
collisions BTW?

/* --- Here's one solution --- */

#if !defined MAX
#define MAX(a,b)     ((a) > (b) ? (a) : (b))
#endif

#if !defined MIN
#define MIN(a,b)     ((a) < (b) ? (a) : (b))
#endif

/* --- Mike --- */
 - - - - - - - - - - -
http://web.wt.net/~chess/






reply via email to

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