diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2017-10-11 19:13:46 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2017-10-11 19:13:46 -0700 |
commit | d5b634da61597aa8e80ba7d5bc39f092e5888515 (patch) | |
tree | deac81be3d6e5dcd58c2e9a97aaa06ebdb682af9 /src/cairo-scaled-font.c | |
parent | 5a9dba9929d9c9046705150f7e3c4783ff34e4dd (diff) |
Factor out the ISFINITE() macro
Diffstat (limited to 'src/cairo-scaled-font.c')
-rw-r--r-- | src/cairo-scaled-font.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index b88049032..705e55bd9 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -46,12 +46,6 @@ #include "cairo-scaled-font-private.h" #include "cairo-surface-backend-private.h" -#if _XOPEN_SOURCE >= 600 || defined (_ISOC99_SOURCE) -#define ISFINITE(x) isfinite (x) -#else -#define ISFINITE(x) ((x) * (x) >= 0.) /* check for NaNs */ -#endif - /** * SECTION:cairo-scaled-font * @Title: cairo_scaled_font_t |