diff options
Diffstat (limited to 'libmpdemux/asf.h')
-rw-r--r-- | libmpdemux/asf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/asf.h b/libmpdemux/asf.h index a2bf546fd1..ba1eff6e7f 100644 --- a/libmpdemux/asf.h +++ b/libmpdemux/asf.h @@ -19,7 +19,7 @@ #ifndef MPLAYER_ASF_H #define MPLAYER_ASF_H -//#include "config.h" /* for HAVE_BIGENDIAN */ +#include <endian.h> #include <inttypes.h> #include "libavutil/common.h" #include "mpbswap.h" @@ -105,7 +105,7 @@ typedef struct __attribute__((packed)) { } ASF_stream_chunck_t; // Definition of the stream type -#if HAVE_BIGENDIAN +#if BYTE_ORDER == BIG_ENDIAN #define ASF_STREAMING_CLEAR 0x2443 // $C #define ASF_STREAMING_DATA 0x2444 // $D #define ASF_STREAMING_END_TRANS 0x2445 // $E @@ -140,7 +140,7 @@ typedef struct { * Some macros to swap little endian structures read from an ASF file * into machine endian format */ -#if HAVE_BIGENDIAN +#if BYTE_ORDER == BIG_ENDIAN #define le2me_ASF_obj_header_t(h) { \ (h)->size = le2me_64((h)->size); \ } |