Re: Win32 BYTE_ORDER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Win32 BYTE_ORDER
Date: 2006-10-19 20:05:42
Message-ID: 2710.1161288342@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Magnus Hagander" <mha(at)sollentuna(dot)net> 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 LITTLE_ENDIAN and friends
... it seems unlikely that a platform would provide those and then
forget BYTE_ORDER.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-10-19 20:05:44 Re: earthdistance update for msvc
Previous Message Tom Lane 2006-10-19 20:04:40 Re: earthdistance update for msvc

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2006-10-19 20:05:44 Re: earthdistance update for msvc
Previous Message Tom Lane 2006-10-19 20:04:40 Re: earthdistance update for msvc