diff x86/bswap.h @ 603:880c6441f56a libavutil

Change semantic of CONFIG_*, HAVE_* and ARCH_*. They are now always defined to either 0 or 1.
author aurel
date Tue, 13 Jan 2009 23:44:16 +0000
parents 57da90f7c680
children 70bdd5501662
line wrap: on
line diff
--- a/x86/bswap.h	Tue Jan 13 00:14:43 2009 +0000
+++ b/x86/bswap.h	Tue Jan 13 23:44:16 2009 +0000
@@ -38,7 +38,7 @@
 #define bswap_32 bswap_32
 static av_always_inline av_const uint32_t bswap_32(uint32_t x)
 {
-#ifdef HAVE_BSWAP
+#if HAVE_BSWAP
     __asm__("bswap   %0" : "+r" (x));
 #else
     __asm__("rorw    $8,  %w0 \n\t"
@@ -49,7 +49,7 @@
     return x;
 }
 
-#ifdef ARCH_X86_64
+#if ARCH_X86_64
 #define bswap_64 bswap_64
 static inline uint64_t av_const bswap_64(uint64_t x)
 {