diff internal.h @ 124:bd1ecfd747bc libavutil

Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change the semantics of ARCH_X86 to mean both 32 and 64 bits.
author diego
date Wed, 01 Nov 2006 17:01:33 +0000
parents 69714d5e1561
children 172cf2494db7
line wrap: on
line diff
--- a/internal.h	Wed Nov 01 16:59:18 2006 +0000
+++ b/internal.h	Wed Nov 01 17:01:33 2006 +0000
@@ -217,7 +217,7 @@
 static always_inline long int lrintf(float x)
 {
 #ifdef __MINGW32__
-#  ifdef ARCH_X86
+#  ifdef ARCH_X86_32
     int32_t i;
     asm volatile(
         "fistpl %0\n\t"
@@ -227,7 +227,7 @@
 #  else
     /* XXX: incorrect, but make it compile */
     return (int)(x + (x < 0 ? -0.5 : 0.5));
-#  endif /* ARCH_X86 */
+#  endif /* ARCH_X86_32 */
 #else
     return (int)(rint(x));
 #endif /* __MINGW32__ */