From 79b18eecc57de34c62d08424237b0e6d4417b6a8 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 31 Oct 2011 22:13:36 +0000 Subject: [PATCH] ifdef fix for 32 bit gcc BUG=none TEST=build on linux Review URL: http://webrtc-codereview.appspot.com/256003 git-svn-id: http://libyuv.googlecode.com/svn/trunk@52 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- source/rotate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/rotate.cc b/source/rotate.cc index 43a0072b6..7d3a33244 100644 --- a/source/rotate.cc +++ b/source/rotate.cc @@ -368,6 +368,7 @@ static void TransposeWx8_SSSE3(const uint8* src, int src_stride, } #if defined (__i386__) +#define HAS_TRANSPOSE_UVWX8_SSE2 extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, uint8* dst_b, int dst_stride_b, @@ -495,8 +496,7 @@ extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride, "pop %ebx\n" "ret\n" ); - -#if defined (__x86_64__) +#elif defined (__x86_64__) // 64 bit version has enough registers to do 16x8 to 8x16 at a time. #define HAS_TRANSPOSE_WX8_FAST_SSSE3 static void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride,