From 0531170436a2a10a995c7487b396f1378affdb98 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 5 Apr 2012 17:36:05 -0400 Subject: [PATCH] mmx: Use force_inline instead of __inline__ (bug 46906) Fixes the build on MSVC. --- pixman/pixman-mmx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c index 4ac9863..3b4625c 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. */ -- 2.7.4