mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -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
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user