[vorbis-dev] Windows CE support

Christian Czech cc at derago.com
Sun Sep 3 23:33:58 PDT 2000



> > > It was just #include <assert.h> in vorbisfile.c which I had to comment out :-) so 
> > > #ifndef UNDER_CE would be ok
> > 
> > There are no asserts in vorbisfile, so that should be removed anyway.  I'm not 
> > an assert kinda guy.
> 
> There is here:
> 
> int host_is_big_endian() {
>   short pattern = 0xbabe;
>   unsigned char *bytewise = (unsigned char *)&pattern;
>   if (bytewise[0] == 0xba) return 1;
> 
>   assert(bytewise[0] == 0xbe);
>   return 0;
> }

There is one more function which is not supported strdup(...) in info.c but that seems to be everything. I hope I can test it this week.

CC

--- >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 'vorbis-dev-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 Vorbis-dev mailing list