Re: Porting libpq to QNX 4.25

From: marcelo <marcelo(dot)nicolet(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Porting libpq to QNX 4.25
Date: 2017-08-22 09:43:25
Message-ID: edb9d0f0-a143-7046-ecf3-bf38929a443f@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm pretty sure that Watcom 9.6 libraries lacks long long or any such
variants.
And, of course, I don' t have another tool chain.
Thank you

On 21/08/17 22:20, George Neuner wrote:
> On Mon, 21 Aug 2017 13:27:56 -0300, marcelo
> <marcelo(dot)nicolet(at)gmail(dot)com> wrote:
>
>> Is there a libpq porting to QNX 4.25? I just tried to compile one of the
>> modules, but was rejected because the QNX's standard library have not an
>> Int64 type.
>> TIA
> QNX 4.25 is very old (mid 90's) - its toolchain compiler would be C90
> unless you've replaced it with something newer. I'm pretty sure
> int64_t was not yet a standard type until C99.
>
> However, many (most?) compilers already supported 64-bit ints as an
> extension years before the standard emerged.
>
> You might try "__int64", or "long long" (with or without space). Or
> search the headers for a *_MAX constant equal to 9223372036854775807.
> [i.e. (2^63)-1]
>
> George
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Moore 2017-08-22 13:42:59 Deadlocks
Previous Message Abhijit Gharami 2017-08-22 06:37:24 Re: [BUGS] Fwd: PostgreSQL 9.4.13 is facing issue in shutting down