summaryrefslogtreecommitdiff
path: root/FL/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'FL/math.h')
-rw-r--r--FL/math.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/FL/math.h b/FL/math.h
index b78357e07..de2acc7ca 100644
--- a/FL/math.h
+++ b/FL/math.h
@@ -14,18 +14,10 @@
// https://www.fltk.org/bugs.php
//
-// Xcode on macOS includes files by recursing down into directories.
-// This code catches the cycle and directly includes the required file.
-#ifdef fl_math_h_cyclic_include
-# include "/usr/include/math.h"
-#endif
-
#ifndef fl_math_h
# define fl_math_h
-# define fl_math_h_cyclic_include
# include <math.h>
-# undef fl_math_h_cyclic_include
# ifndef M_PI
# define M_PI 3.14159265358979323846
@@ -40,11 +32,4 @@
# define M_SQRT1_2 0.70710678118654752440
# endif // !M_SQRT2
-# if (defined(_WIN32) || defined(CRAY)) && !defined(__MINGW32__)
-
-inline double rint(double v) {return floor(v+.5);}
-inline double copysign(double a, double b) {return b<0 ? -a : a;}
-
-# endif // (_WIN32 || CRAY) && !__MINGW32__
-
#endif // !fl_math_h