[vorbis-dev] Windows CE support

volsung at asu.edu volsung at asu.edu
Sun Sep 3 16:31:49 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;
}


---
Stan Seibert

--- >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