Re: [HACKERS] [PATCHES] Win32 BYTE_ORDER

2006-10-19 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: This patch adds a #define for BYTE_ORDER to win32.h if it's not pulled in elsewhere, as needed by msvc build of pgcrypto. Seems several other platforms define it in their port file already, but not win32. Done, but I think you forgot the defs for

Re: [HACKERS] [PATCHES] Win32 BYTE_ORDER

2006-10-19 Thread Magnus Hagander
This patch adds a #define for BYTE_ORDER to win32.h if it's not pulled in elsewhere, as needed by msvc build of pgcrypto. Seems several other platforms define it in their port file already, but not win32. Done, but I think you forgot the defs for LITTLE_ENDIAN and friends ... it

Re: [HACKERS] [PATCHES] Win32 BYTE_ORDER

2006-10-19 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: Done, but I think you forgot the defs for LITTLE_ENDIAN and friends ... it seems unlikely that a platform would provide those and then forget BYTE_ORDER. Well, it compiled just fine, so it must've found it somewhere :-) I think the #if tests