Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / instrumented_libraries / patches / pulseaudio.diff
1 diff -rupN ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h ../pulseaudio-1.1-patched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h
2 --- ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h    2011-10-20 16:54:16.000000000 +0400
3 +++ ../pulseaudio-1.1-patched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h    2014-01-30 16:57:43.113946495 +0400
4 @@ -29,8 +29,11 @@
5  
6  #include "sbc_primitives.h"
7  
8 +// The inline asm causes errors in clang builds. We don't want inline asm in
9 +// instrumented builds anyway.
10  #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__)) && \
11 -               !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
12 +               !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15) && \
13 +               !defined(__clang__)
14  
15  #define SBC_BUILD_WITH_MMX_SUPPORT
16