Boszormenyi Zoltan wrote:

I happened to notice this by chance:

> + #if (LONG_BIT == 64)
> + #define     SQLINT8         ECPGt_long
> + #define     SQLSERIAL8      ECPGt_long
> + #else
> + #define     SQLINT8         ECPGt_long_long
> + #define     SQLSERIAL8      ECPGt_long_long
> + #endif

I'm not sure how portable is the LONG_BIT business.  We don't seem to
use it anywhere else (hmm, but then we do use CHAR_BIT elsewhere)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to