Bug 1874684 - Part 28: Return DateDuration from DifferenceISODateTime. r=mgaudet
[gecko.git] / media / libyuv / fix_build_errors.patch
blob28d1b647ab9961349c540ca4e1a8522815a76baf
1 diff --git a/include/libyuv/row.h b/include/libyuv/row.h
2 --- a/include/libyuv/row.h
3 +++ b/include/libyuv/row.h
4 @@ -176,8 +176,9 @@ extern "C" {
6 // The following functions fail on gcc/clang 32 bit with fpic and framepointer.
7 // caveat: clangcl uses row_win.cc which works.
8 -#if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
9 - defined(_MSC_VER)
10 +#if !defined(MOZ_PROFILING) && \
11 + (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
12 + defined(_MSC_VER))
13 // TODO(fbarchard): fix build error on android_full_debug=1
14 // https://code.google.com/p/libyuv/issues/detail?id=517
15 #define HAS_I422ALPHATOARGBROW_SSSE3
16 @@ -246,8 +247,9 @@ extern "C" {
17 #define HAS_ARGBATTENUATEROW_AVX2
18 #endif
20 -#if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
21 - defined(_MSC_VER)
22 +#if !defined(MOZ_PROFILING) && \
23 + (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
24 + defined(_MSC_VER))
25 // TODO(fbarchard): fix build error on android_full_debug=1
26 // https://code.google.com/p/libyuv/issues/detail?id=517
27 #define HAS_I422ALPHATOARGBROW_AVX2