summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-04-05 17:36:05 -0400
committerMatt Turner <mattst88@gmail.com>2012-04-05 17:36:05 -0400
commit0531170436a2a10a995c7487b396f1378affdb98 (patch)
treea6f0a30edd787534523051a8d49f3d80d02f4eb2
parentb950bb12dc2baaee441b875bd81b67e48947d2f6 (diff)
mmx: Use force_inline instead of __inline__ (bug 46906)
Fixes the build on MSVC.
-rw-r--r--pixman/pixman-mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index 4ac9863f..3b4625cc 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -319,7 +319,7 @@ in_over (__m64 src, __m64 srca, __m64 mask, __m64 dest)
/* Elemental unaligned loads */
-static __inline__ __m64 ldq_u(uint64_t *p)
+static force_inline __m64 ldq_u(uint64_t *p)
{
#ifdef USE_X86_MMX
/* x86's alignment restrictions are very relaxed. */
@@ -338,7 +338,7 @@ static __inline__ __m64 ldq_u(uint64_t *p)
#endif
}
-static __inline__ uint32_t ldl_u(const uint32_t *p)
+static force_inline uint32_t ldl_u(const uint32_t *p)
{
#ifdef USE_X86_MMX
/* x86's alignment restrictions are very relaxed. */