Fixes for Cygwin (STR #1096)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2005-12-14 01:58:03 +00:00
parent cbb4918f41
commit 9d060d717c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -40,11 +40,11 @@
extern "C" int putenv(const char*);
#endif // __APPLE__ && __MWERKS__
#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 putenv _putenv
#endif // WIN32
#endif // WIN32 && !__CYGWIN__
static char fl_bg_set = 0;
static char fl_bg2_set = 0;
+2 -2
View File
@@ -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) {