]> git.sesse.net Git - vlc/blobdiff - include/input_ext-dec.h
. fixed a warning under FreeBSD (dlerror() is a const char*, not a char*).
[vlc] / include / input_ext-dec.h
index 33ec47134af41be94e5cbb9de805c1cef55be310..b2b331c41ec44c6cda263a2f14ec5f208dd9b9ec 100644 (file)
@@ -2,7 +2,7 @@
  * input_ext-dec.h: structures exported to the VideoLAN decoders
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ext-dec.h,v 1.7 2000/12/27 18:35:45 massiot Exp $
+ * $Id: input_ext-dec.h,v 1.8 2001/01/09 21:03:47 sam Exp $
  *
  * Authors:
  *
@@ -244,10 +244,10 @@ static __inline__ void DumpBits( bit_stream_t * p_bit_stream, int i_bits )
 #if defined(SYS_BEOS)
 #   define swab32(x) B_BENDIAN_TO_HOST_INT32(x)
 #else
-#   if __BYTE_ORDER == __BIG_ENDIAN
+#   ifdef WORDS_BIG_ENDIAN
 #       define swab32(x) (x)
 #   else
-#       if defined (__i386__)
+#       if defined (HAVE_X86_BSWAP)
 static __inline__ const u32 __i386_swab32( u32 x )
 {
     __asm__("bswap %0" : "=r" (x) : "0" (x));