summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-06-29 00:10:05 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-06-29 00:10:05 +0000
commit2d30a9e6fa5f7a328c942fe7b0b68908339c9076 (patch)
tree0727ed8801c736d52d6b8cf2ea7cb282af99f3ff /FL
parentfb54e063066c11bfe8d4918bd68453c3b64a68db (diff)
Small changes to make Metrowerks CodeWarrior for Windows work.
See seperate posting with CodeWarrior project file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/math.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/math.h b/FL/math.h
index 3d830988d..0813b8ea9 100644
--- a/FL/math.h
+++ b/FL/math.h
@@ -1,5 +1,5 @@
//
-// "$Id: math.h,v 1.4.2.4.2.2 2002/06/27 20:52:44 easysw Exp $"
+// "$Id: math.h,v 1.4.2.4.2.3 2002/06/29 00:10:04 matthiaswm Exp $"
//
// Math header file for the Fast Light Tool Kit (FLTK).
//
@@ -43,16 +43,16 @@
# include <float.h>
# endif
-# if (defined(WIN32) || defined(CRAY)) && !__MINGW32__
+# if (defined(WIN32) || defined(CRAY)) && !__MINGW32__ && !__MWERKS__
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 // (WIN32 || CRAY) && !__MINGW32__ && !__MWERKS__
#endif // !fl_math_h
//
-// End of "$Id: math.h,v 1.4.2.4.2.2 2002/06/27 20:52:44 easysw Exp $".
+// End of "$Id: math.h,v 1.4.2.4.2.3 2002/06/29 00:10:04 matthiaswm Exp $".
//