mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 00:58:02 +02:00
Revert "Add an implementation of fmax for use with MSVC"
This reverts commit de2c5bfa19.
fmax() is not used anymore and should not be used in future.
This commit is contained in:
parent
5339533737
commit
cec4c9c91a
1 changed files with 0 additions and 14 deletions
|
|
@ -227,20 +227,6 @@ ffs (int x)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#include <float.h>
|
||||
|
||||
static inline double
|
||||
fmax (double a, double b)
|
||||
{
|
||||
if (_isnan(a))
|
||||
return b;
|
||||
if (_isnan(b))
|
||||
return a;
|
||||
return a > b ? a : b;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && defined(_M_IX86)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue