aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-15 15:42:00 +0200
committermarha <marha@users.sourceforge.net>2012-05-15 15:42:00 +0200
commit311fa1f4a712cd975fb7f37c2603afc1c1dc57d6 (patch)
treef8e875c83f7f63c5da7e74c791d3a1333531fa30
parent9818207986d5db9831e43eb2a640be68f54bb2ef (diff)
downloadvcxsrv-311fa1f4a712cd975fb7f37c2603afc1c1dc57d6.tar.gz
vcxsrv-311fa1f4a712cd975fb7f37c2603afc1c1dc57d6.tar.bz2
vcxsrv-311fa1f4a712cd975fb7f37c2603afc1c1dc57d6.zip
Solved compilation problem
-rw-r--r--pixman/pixman/pixman-mmx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pixman/pixman/pixman-mmx.c b/pixman/pixman/pixman-mmx.c
index 54d5b274b..081897f8a 100644
--- a/pixman/pixman/pixman-mmx.c
+++ b/pixman/pixman/pixman-mmx.c
@@ -620,14 +620,13 @@ pack_4xpacked565 (__m64 a, __m64 b)
#endif
}
+#ifndef _MSC_VER
static force_inline __m64
pack_4x565 (__m64 v0, __m64 v1, __m64 v2, __m64 v3)
{
return pack_4xpacked565 (pack8888 (v0, v1), pack8888 (v2, v3));
}
-#ifndef _MSC_VER
-
static force_inline __m64
pix_add_mul (__m64 x, __m64 a, __m64 y, __m64 b)
{
@@ -639,6 +638,8 @@ pix_add_mul (__m64 x, __m64 a, __m64 y, __m64 b)
#else
+#define pack_4x565(v0, v1, v2, v3) pack_4xpacked565 (pack8888 (v0, v1), pack8888 (v2, v3))
+
#define pix_add_mul(x, a, y, b) \
( x = pix_multiply (x, a), \
y = pix_multiply (y, b), \