Re: [GENERAL] Porting libpq to QNX 4.25 - Mailing list pgsql-general

From marcelo
Subject Re: [GENERAL] Porting libpq to QNX 4.25
Date
Msg-id edb9d0f0-a143-7046-ecf3-bf38929a443f@gmail.com
Whole thread Raw
In response to Re: [GENERAL] Porting libpq to QNX 4.25  (George Neuner <gneuner2@comcast.net>)
List 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.nicolet@gmail.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
>
>
>



pgsql-general by date:

Previous
From: Abhijit Gharami
Date:
Subject: Re: [GENERAL] [BUGS] Fwd: PostgreSQL 9.4.13 is facing issue in shutting down
Next
From: Martin Moore
Date:
Subject: [GENERAL] Deadlocks