Re: [GENERAL] Porting libpq to QNX 4.25

Поиск
Список
Период
Сортировка
От George Neuner
Тема Re: [GENERAL] Porting libpq to QNX 4.25
Дата
Msg-id 4sumpcdhu2ubvtmpdcm65oak7e3k04pav3@4ax.com
обсуждение исходный текст
Ответ на [GENERAL] Porting libpq to QNX 4.25  (marcelo <marcelo.nicolet@gmail.com>)
Ответы Re: [GENERAL] Porting libpq to QNX 4.25
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] pg_rewind - restore new slave failed to startup during recovery
Следующее
От: Fadhel J Muhammad
Дата:
Сообщение: [GENERAL] Postgresql_for_odoo