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: aix_fcntl.patch
Description: aix_fcntl.patch

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to