[xiph-commits] r13240 - trunk/theora/lib/enc/x86_32

giles at svn.xiph.org giles at svn.xiph.org
Tue Jul 10 11:35:40 PDT 2007


Author: giles
Date: 2007-07-10 11:35:40 -0700 (Tue, 10 Jul 2007)
New Revision: 13240

Modified:
   trunk/theora/lib/enc/x86_32/dct_decode_mmx.c
Log:
Fix cross compilation for Windows under MINGW. Patch from Matthias 
Schneider.


Modified: trunk/theora/lib/enc/x86_32/dct_decode_mmx.c
===================================================================
--- trunk/theora/lib/enc/x86_32/dct_decode_mmx.c	2007-07-10 11:01:17 UTC (rev 13239)
+++ trunk/theora/lib/enc/x86_32/dct_decode_mmx.c	2007-07-10 18:35:40 UTC (rev 13240)
@@ -24,7 +24,7 @@
 static const __attribute__((aligned(8),used)) ogg_int64_t V3= 0x0003000300030003LL;
 static const __attribute__((aligned(8),used)) ogg_int64_t V804= 0x0804080408040804LL;
 
-#if defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(__APPLE__) || defined(__CYGWIN__) || defined (__WIN32__)
 #define MANGLE(x) "_"#x
 #else
 #define MANGLE(x) #x



More information about the commits mailing list