Re: Porting libpq to QNX 4.25

From: George Neuner <gneuner2(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Porting libpq to QNX 4.25
Date: 2017-08-22 01:20:40
Message-ID: 4sumpcdhu2ubvtmpdcm65oak7e3k04pav3@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fadhel J Muhammad 2017-08-22 02:02:18 Postgresql_for_odoo
Previous Message Michael Paquier 2017-08-22 01:06:44 Re: pg_rewind - restore new slave failed to startup during recovery