Re: BYTE_ORDER for contribs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: BYTE_ORDER for contribs
Date
Msg-id 21012.1076376064@sss.pgh.pa.us
Whole thread Raw
In response to BYTE_ORDER for contribs  (strk <strk@keybit.net>)
List pgsql-hackers
strk <strk@keybit.net> writes:
> Is there a quick way to use the BYTE_ORDER define
> as set by pgsql ? I can't find an "entry point"
> include for it. 

BYTE_ORDER isn't actually used anywhere in the backend, and hasn't been
for a long time, so I wouldn't count on it to be right.

> It's needed for postgis (problems with Solaris BYTE_ORDER).

My recommendation is to rethink your code.  There's usually a way to
avoid having a compile-time dependency.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Proposed Query Planner TODO items
Next
From: Tom Lane
Date:
Subject: Re: CVS HEAD compile failure on Freebsd 4.9