diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-14 01:58:03 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-14 01:58:03 +0000 |
| commit | 9d060d717c392c0fa4f68c00d313ef936129862a (patch) | |
| tree | 564f19c84436c66845337eba26743ab6f7abdc5e /src/fl_arc.cxx | |
| parent | cbb4918f4134ae98926d8fd79746a43d50e76fd5 (diff) | |
Fixes for Cygwin (STR #1096)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_arc.cxx')
| -rw-r--r-- | src/fl_arc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_arc.cxx b/src/fl_arc.cxx index 3b50a32e2..08cc416bf 100644 --- a/src/fl_arc.cxx +++ b/src/fl_arc.cxx @@ -32,11 +32,11 @@ #include <FL/fl_draw.H> #include <FL/math.h> -#ifdef WIN32 +#if defined(WIN32) && !defined(__CYGWIN__) // 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 +#endif // WIN32 && !__CYGWIN__ void fl_arc(double x, double y, double r, double start, double end) { |
