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.