summaryrefslogtreecommitdiff
path: root/src/fl_arc.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-11-27 14:45:48 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-11-27 14:45:48 +0000
commite321cb37bfe0379f54010eb42a36573ca561e71f (patch)
tree8859d1296934461dc33abddc49701f5bbdc53124 /src/fl_arc.cxx
parentf9f2de35726988a6fd9d3b226dc683c394c1d65c (diff)
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
Diffstat (limited to 'src/fl_arc.cxx')
-rw-r--r--src/fl_arc.cxx6
1 files changed, 6 insertions, 0 deletions
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 <FL/fl_draw.H>
#include <FL/math.h>
+#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: