Re: [HACKERS] Linux/Alpha and pgsql....

Marc G. Fournier <scrappy@hub.org>

From: The Hermit Hacker <scrappy@hub.org>
To: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Cc: Bruce Momjian <maillist@candle.pha.pa.us>, pgsql-hackers@postgreSQL.org
Date: 1998-04-12T02:59:11Z
Lists: pgsql-hackers
On Sat, 11 Apr 1998, Ryan Kirkpatrick wrote:

> 	Ok, attached are a new set of patches. First of all, ignore all

	Perfect...applied...

> previous patches I have sent on this thread. Now these three work on the

	Please confirm, since I haven't removed anything except those
things that these patches replaced...

> idea that 'alpha' and 'linux' are both defined. The former is defined by
> CFLAGS in template/linuxalpha, and latter is defined by the gcc on my UDB
> (and all other Linux/Alpha systems). This removes the need to add any
> defines to the CFLAGS line. To get rid of the other define (-Dalpha), we
> simply need to replace each 'defined(alpha)' with '(defined(alpha) ||
> defined(__alpha__))', as gcc automatically defines '__alpha__' like it
> does 'linux'. If you want me to do this, just ask.

	Please do...