diff options
Diffstat (limited to 'libfaad2/bits.h')
-rw-r--r-- | libfaad2/bits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfaad2/bits.h b/libfaad2/bits.h index fbe2295215..809084aa84 100644 --- a/libfaad2/bits.h +++ b/libfaad2/bits.h @@ -56,9 +56,9 @@ typedef struct _bitfile } bitfile; -#if defined (_WIN32) && !defined(_WIN32_WCE) +#if defined (_WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) #define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax -#elif defined(LINUX) || defined(DJGPP) +#elif defined(ARCH_X86) && (defined(DJGPP) || defined(__GNUC__)) #define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) ) #else #define BSWAP(a) \ |