Kaydet (Commit) b4c74957 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Fix MMX build of pixman with MSVC

üst e81e5108
......@@ -122,4 +122,24 @@
#include "pixman-private.h"
--- misc/pixman-0.24.0/pixman/pixman-mmx.c 2011-11-06 13:47:42.000000000 -0700
+++ misc/build/pixman-0.24.0/pixman/pixman-mmx.c 2011-12-19 00:41:42.280402800 -0700
@@ -309,7 +309,7 @@
/* Elemental unaligned loads */
-static __inline__ __m64 ldq_u(uint64_t *p)
+static inline __m64 ldq_u(uint64_t *p)
{
#ifdef USE_X86_MMX
/* x86's alignment restrictions are very relaxed. */
@@ -328,7 +328,7 @@
#endif
}
-static __inline__ uint32_t ldl_u(uint32_t *p)
+static inline uint32_t ldl_u(uint32_t *p)
{
#ifdef USE_X86_MMX
/* x86's alignment restrictions are very relaxed. */
......@@ -74,7 +74,7 @@ BUILD_DIR=$(CONFIGURE_DIR)
.ELSE # WNT, not GCC
BUILD_DIR=pixman
BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 MMX=off SSE2=on CFG=release
BUILD_ACTION=$(GNUMAKE) -f Makefile.win32 MMX=on SSE2=on CFG=release
.ENDIF
.ELIF "$(GUIBASE)"=="aqua"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment