diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
commit | b250f9c66d3ddd84652d158fb979a5f21e3f2c71 (patch) | |
tree | ef84366029d6f8af6ed82e90c5f188bb7dfc844d /libavutil/x86/bswap.h | |
parent | 959da985b03570cfe7d239c0ba6d550ecb04c460 (diff) | |
download | ffmpeg-b250f9c66d3ddd84652d158fb979a5f21e3f2c71.tar.gz |
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/x86/bswap.h')
-rw-r--r-- | libavutil/x86/bswap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/x86/bswap.h b/libavutil/x86/bswap.h index c52b5290e1..0ff8a93385 100644 --- a/libavutil/x86/bswap.h +++ b/libavutil/x86/bswap.h @@ -38,7 +38,7 @@ static av_always_inline av_const uint16_t bswap_16(uint16_t x) #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 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x) 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) { |