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
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
15 #include "mozilla/Assertions.h"
17 +#if defined(__clang__)
18 +#ifndef _builtin_isnanf
19 +#define __builtin_isnanf __builtin_isnan
21 +#ifndef _builtin_isnanl
22 +#define __builtin_isnanl __builtin_isnan