ARM: use gcc inline asm in bswap.h only when available
authorMåns Rullgård <mans@mansr.com>
Wed, 1 Jul 2009 00:55:15 +0000 (00:55 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 1 Jul 2009 00:55:15 +0000 (00:55 +0000)
Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/arm/bswap.h

index d19f972..d7ee84f 100644 (file)
@@ -40,7 +40,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x)
 }
 #endif /* HAVE_ARMV6 */
 
-#else /* __ARMCC_VERSION */
+#elif HAVE_INLINE_ASM
 
 #if HAVE_ARMV6
 #define bswap_16 bswap_16