diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-03-19 11:05:21 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-03-19 15:29:03 +0100 |
commit | cec4c9c91ae1848c095e9c7ecd8ddcc60cf2810a (patch) | |
tree | 8200d5396fbdf477c3898a8ab62f13dbdfcff0ea /src/cairo-compiler-private.h | |
parent | 5339533737f0c3cb02ced551960a34574b7a4e58 (diff) | |
download | cairo-cec4c9c91ae1848c095e9c7ecd8ddcc60cf2810a.tar.gz |
Revert "Add an implementation of fmax for use with MSVC"
This reverts commit de2c5bfa19ce6b3fda50bca3445aabc040947bc9.
fmax() is not used anymore and should not be used in future.
Diffstat (limited to 'src/cairo-compiler-private.h')
-rw-r--r-- | src/cairo-compiler-private.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h index 4349b87e3..e25ee1fdf 100644 --- a/src/cairo-compiler-private.h +++ b/src/cairo-compiler-private.h @@ -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) |