Re: [HACKERS] Linux/Alpha's s_lock.c and other ports...

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Darren King <darrenk(at)insightdist(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org, rkirkpat(at)nag(dot)cs(dot)colorado(dot)edu
Subject: Re: [HACKERS] Linux/Alpha's s_lock.c and other ports...
Date: 1998-01-07 22:43:38
Message-ID: Pine.NEB.3.96.980107184310.254x-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


This was done...I didn't think the #if's shoudl be around the header
file stuff, so just moved them down a bit

On Wed, 7 Jan 1998, Darren King wrote:

>
> In the next update to s_lock.c, would it be possible to add an
> #else to the #ifdef with nothing more than a ; in it? Like...
>
> #if defined (__alpha__) && defined(linux)
>
> ... alpha linux code ...
>
> #else
> ;
> #endif
>
> Or perhaps put a #include <stdio.h> outside the ifdef'd block?
>
> The aix compiler requires there be _some_ sort of valid code left
> after the pre-processor finishes with the file, and currently
> there isn't, so my compile fails since the s_lock.c file's always
> in the make.
>
> Or could the #if be moved to the makefile to add s_lock.c to OBJS
> if defined(__alpha__) and defined(linux)?
>
>
> Darren aka darrenk(at)insightdist(dot)com
>

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-01-07 22:44:24 Re: [HACKERS] varchar/char size
Previous Message Keith Parks 1998-01-07 22:39:51 Re: [HACKERS] VACUUM error on CVS build 07-JAN-98