From 8a7d4c9f610824fb203ef63730525dd474f03c34 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 11 Mar 2020 14:38:02 +0100 Subject: 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. --- FL/math.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'FL') diff --git a/FL/math.h b/FL/math.h index a113eb112..e5182352b 100644 --- a/FL/math.h +++ b/FL/math.h @@ -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 -- cgit v1.2.3