Re: [PATCHES] Win32 BYTE_ORDER - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [PATCHES] Win32 BYTE_ORDER
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FCA1@algol.sollentuna.se
Whole thread Raw
In response to Re: [PATCHES] Win32 BYTE_ORDER  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] Win32 BYTE_ORDER  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > 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 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 :-)

//Magnus

pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: [PATCHES] earthdistance update for msvc
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Win32 BYTE_ORDER