[tremor] Endian header

Monty xiphmont at xiph.org
Tue Oct 15 16:35:13 PDT 2002



On Wed, Sep 04, 2002 at 12:01:15AM +0200, Dimitry Andric wrote:
> 
> On FreeBSD, a similar header is found in <machine/endian.h>, but
> almost never included directly. Instead, one includes <sys/types.h>,
> which pulls in the file. AFAIK other BSD's behave the same.
> 
> When I checked a Linux box, it said exactly something like this in its
> <sys/types.h> file (here from Debian 3.0 aka Woody):
> 
>   /* In BSD <sys/types.h> is expected to define BYTE_ORDER.  */
>   # include <endian.h>
> 
> So would you please consider using <sys/types.h> instead of
> <endian.h>? This would at least fix the problem for *BSD, possibly
> also for other Unix-like OSes.

Yep, just made this change.  It will be in CVS soon.

Monty
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Tremor mailing list