6.5.2 broken on alpha/Tru64 Unix 4.0d/cc

From: "Pedro J(dot) Lobo" <pjlobo(at)euitt(dot)upm(dot)es>
To: PostgreSQL bugs mailing list <pgsql-bugs(at)postgresql(dot)org>, PostgreSQL ports mailing list <pgsql-ports(at)postgresql(dot)org>
Subject: 6.5.2 broken on alpha/Tru64 Unix 4.0d/cc
Date: 1999-10-08 14:23:39
Message-ID: Pine.OSF.4.05.9910081617210.18311-100000@haddock.euitt.upm.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-ports

Hi, all.

Someone has changed the "#if defined(__alpha)" tests that existed in
include/storage/s_lock.h in 6.5.1 to "#if defined(__alpha__)". The problem
is that DEC (¿Compaq?) C only defines __alpha, (gcc defines both __alpha
and __alpha__) so it doesn't work anymore.

In fact, there are two places where the test is used, one inside a "#if
defined(__GNUC__)" and the other one inside the corresponding "#else". It
seems that the easiest sollution is to change the check inside the "#else"
back to "#if defined(__alpha)".

Cheers,

Pedro.

--
-------------------------------------------------------------------
Pedro José Lobo Perea Tel: +34 91 336 78 19
Centro de Cálculo Fax: +34 91 331 92 29
E.U.I.T. Telecomunicación e-mail: pjlobo(at)euitt(dot)upm(dot)es
Universidad Politécnica de Madrid
Ctra. de Valencia, Km. 7 E-28031 Madrid - España / Spain

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 1999-10-08 15:16:57 Re: [BUGS] 6.5.2 broken on alpha/Tru64 Unix 4.0d/cc
Previous Message Tom Lane 1999-10-08 14:04:02 Re: [BUGS] 6.5.2 BUG: Rolling back after dropping a table causes dangling relationships.

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 1999-10-08 15:16:57 Re: [BUGS] 6.5.2 broken on alpha/Tru64 Unix 4.0d/cc
Previous Message Peter Schaefer 1999-10-08 12:45:37 postgresql-6.5.2/src/interfaces/odbc/gpps.h