Re: OSF build broken

From: Philip Yarra <philip(at)utiba(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: OSF build broken
Date: 2003-07-07 05:29:56
Message-ID: 200307071529.56712.philip@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 7 Jul 2003 03:09 pm, Joe Conway wrote:
> I found it on my Red Hat 9 box in sys/types.h:
> <snip>
> # if __GLIBC_HAVE_LONG_LONG
> __extension__ typedef long long int int64_t;
> # endif

And on RedHat 7.3 it's in stdint.h - they must move it around to keep the
snipers guessing.

If you haven't hit this problem trying to build, it sounds like the right
things are getting included for your platform.

What's the best (most portable) way to fix this? Would something like:
#ifdef OSF
#include <db.h>
#endif
work? I'm guessing this sort of issue comes up regularly.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-07-07 05:46:21 Re: OSF build broken
Previous Message Christopher Kings-Lynne 2003-07-07 05:19:17 Re: regressions tests on freebsd/alpha: failure