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

From George Neuner
Subject Re: [GENERAL] Porting libpq to QNX 4.25
Date
Msg-id 4sumpcdhu2ubvtmpdcm65oak7e3k04pav3@4ax.com
Whole thread Raw
In response to [GENERAL] Porting libpq to QNX 4.25  (marcelo <marcelo.nicolet@gmail.com>)
Responses Re: [GENERAL] Porting libpq to QNX 4.25  (marcelo <marcelo.nicolet@gmail.com>)
List pgsql-general
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: Michael Paquier
Date:
Subject: Re: [GENERAL] pg_rewind - restore new slave failed to startup during recovery
Next
From: Fadhel J Muhammad
Date:
Subject: [GENERAL] Postgresql_for_odoo