From e321cb37bfe0379f54010eb42a36573ca561e71f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 27 Nov 2005 14:45:48 +0000 Subject: VC++ 2005 Support, drop old files, add icons for Sudoku git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_arc.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fl_arc.cxx') diff --git a/src/fl_arc.cxx b/src/fl_arc.cxx index 8e16c2c02..3b50a32e2 100644 --- a/src/fl_arc.cxx +++ b/src/fl_arc.cxx @@ -32,6 +32,12 @@ #include #include +#ifdef WIN32 +// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs +// on Windows, which is supposed to be POSIX compliant... +# define hypot _hypot +#endif // WIN32 + void fl_arc(double x, double y, double r, double start, double end) { // draw start point accurately: -- cgit v1.2.3