From e321cb37bfe0379f54010eb42a36573ca561e71f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 27 Nov 2005 14:45:48 +0000 Subject: 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 --- src/Fl_get_system_colors.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Fl_get_system_colors.cxx') diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx index bac2c7c94..f2e5746fa 100644 --- a/src/Fl_get_system_colors.cxx +++ b/src/Fl_get_system_colors.cxx @@ -40,6 +40,11 @@ extern "C" int putenv(const char*); #endif // __APPLE__ && __MWERKS__ +#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 putenv _putenv +#endif // WIN32 static char fl_bg_set = 0; static char fl_bg2_set = 0; -- cgit v1.2.3