AIX port current

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: <pqsql-hackers(at)postgresql(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: AIX port current
Date: 2003-10-16 15:20:53
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA40184CECD@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


On AIX 4.3.2 dlfcn.h is not compatible with fcntl.h in the given constellation
(both define FREAD and FWRITE differently) and since fcntl.h in c.h is only needed
for O_BINARY I suggest to include fcntl.h only if O_BINARY is needed.

Second, LLONG_MIN (used in ecpg's misc.c) is not available on AIX.
I am not sure whether the original has a typo there or not
(using LONG_LONG_MIN instead of LONGLONG_MIN) (patch assumes no typo) ?

Fix for both attached, please (consider to) apply.
At least the second part of the patch has no risk, as far as I can see.

Andreas

Attachment Content-Type Size
aix_fcntl.patch application/octet-stream 739 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Gaetano Mendola 2003-10-16 22:14:28 Re: minor HISTORY improvement
Previous Message Bruce Momjian 2003-10-16 03:55:54 Re: minor HISTORY improvement