diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-11-13 19:44:15 +0100 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-12-10 06:46:36 -0500 |
commit | d91f550b2a6a5029996a97282025930e67f468ae (patch) | |
tree | 0b107a35c9ebd23191eb35625c89529a9f312e8e | |
parent | 2092aa0d92f3aa6e3c30d46771bfbbc92c062cc4 (diff) |
Always use xmmintrin.h for 64 bit Windows
MinGW-w64 uses the GNU compiler and does not define _MSC_VER.
Nevertheless, it provides xmmintrin.h and must be handled
here like the MS compiler. Otherwise compilation fails due to
conflicting declarations.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r-- | pixman/pixman-mmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c index 1e6dbe8..76b6ced 100644 --- a/pixman/pixman-mmx.c +++ b/pixman/pixman-mmx.c @@ -62,7 +62,7 @@ _mm_empty (void) #endif #ifdef USE_X86_MMX -# if (defined(__SUNPRO_C) || defined(_MSC_VER)) +# if (defined(__SUNPRO_C) || defined(_MSC_VER) || defined(_WIN64)) # include <xmmintrin.h> # else /* We have to compile with -msse to use xmmintrin.h, but that causes SSE |