harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / libyuv / 0001-i386-sse2.patch
blobb8ecb34d0f40285da72f416dd9af2e0ac9427790
1 Fix compilation on non-sse2 platforms
3 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
5 diff -uNr libyuv-1411.org/include/libyuv/scale_row.h libyuv-1411/include/libyuv/scale_row.h
6 --- libyuv-1411.org/include/libyuv/scale_row.h 2015-05-22 23:39:21.000000000 +0200
7 +++ libyuv-1411/include/libyuv/scale_row.h 2015-05-25 12:35:17.000000000 +0200
8 @@ -33,7 +33,7 @@
10 // The following are available on all x86 platforms:
11 #if !defined(LIBYUV_DISABLE_X86) && \
12 - (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__))
13 + (defined(_M_IX86) || defined(__x86_64__) || (defined(__i386__) && defined(__SSE2__)))
14 #define HAS_FIXEDDIV1_X86
15 #define HAS_FIXEDDIV_X86
16 #define HAS_SCALEADDROWS_SSE2