diff options
Diffstat (limited to 'src/fl_arc.cxx')
| -rw-r--r-- | src/fl_arc.cxx | 6 |
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: |
