firefox: update to 128.0
[oi-userland.git] / components / web / firefox / patches / Bug1611224.patch
blobbc26900a983d51ccc26f0019a0c538edd69f3533
1 # HG changeset patch
2 # User Petr Sumbera <petr.sumbera@oracle.com>
3 # Date 1579873951 -3600
4 # Fri Jan 24 14:52:31 2020 +0100
5 # Node ID c65efa1f6ecf038ed1e2d02ebd5f5ae5e206c684
6 # Parent b961d82463ccc93fce3c8af9c291726127eb8388
7 Bug 1611224 bindgen - clang error undeclared identifier '__builtin_isnanf(l)' wh
8 en building with gcc
10 diff -r b961d82463cc -r c65efa1f6ecf mfbt/MathAlgorithms.h
11 --- a/mfbt/MathAlgorithms.h Mon Oct 07 13:41:31 2019 +0200
12 +++ b/mfbt/MathAlgorithms.h Fri Jan 24 14:52:31 2020 +0100
13 @@ -11,6 +11,15 @@
15 #include "mozilla/Assertions.h"
17 +#if defined(__clang__)
18 +#ifndef _builtin_isnanf
19 +#define __builtin_isnanf __builtin_isnan
20 +#endif
21 +#ifndef _builtin_isnanl
22 +#define __builtin_isnanl __builtin_isnan
23 +#endif
24 +#endif
26 #include <cmath>
27 #include <limits.h>
28 #include <stdint.h>