diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-03-11 14:38:02 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-03-11 14:38:02 +0100 |
| commit | 8a7d4c9f610824fb203ef63730525dd474f03c34 (patch) | |
| tree | b6460ec759e6250c7ce81e32c5a3c6c188facb89 /FL/math.h | |
| parent | 55132049c78694cae34d1d17ed20941be86cc965 (diff) | |
Remove CodeWarrior "support"
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued
since 2005) that defined the macro __MWERKS__. Code using this macro
and several comments have been removed.
Diffstat (limited to 'FL/math.h')
| -rw-r--r-- | FL/math.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3,20 +3,20 @@ // // Math header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2016 by Bill Spitzak and others. +// Copyright 1998-2020 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // -// http://www.fltk.org/str.php +// https://www.fltk.org/str.php // -// Xcode on OS X includes files by recursing down into directories. +// 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" @@ -42,12 +42,12 @@ # define M_SQRT1_2 0.70710678118654752440 # endif // !M_SQRT2 -# if (defined(_WIN32) || defined(CRAY)) && !defined(__MINGW32__) && !defined(__MWERKS__) +# 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__ && !__MWERKS__ +# endif // (_WIN32 || CRAY) && !__MINGW32__ #endif // !fl_math_h |
