use GLib byte order macros

This commit is contained in:
Max Kellermann
2009-01-05 08:17:22 +01:00
parent c844bd602d
commit ac0fe98ffb
5 changed files with 11 additions and 12 deletions

View File

@@ -40,7 +40,7 @@
#include <stdlib.h>
#include <unistd.h>
#ifdef WORDS_BIGENDIAN
#ifdef G_BYTE_ORDER == G_BIG_ENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1
#else
#define OGG_DECODE_USE_BIGENDIAN 0