diff options
Diffstat (limited to 'src/Fl_get_system_colors.cxx')
| -rw-r--r-- | src/Fl_get_system_colors.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
