From 8ea59b412e4af50813545a836ed1c11ac00f541c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 20 Feb 2007 17:02:41 +0000 Subject: Fixed Watcom compiler setup without verification using a patch by mnieuw git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/demo.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/demo.cxx b/test/demo.cxx index aa0b7734c..1e9382235 100644 --- a/test/demo.cxx +++ b/test/demo.cxx @@ -30,10 +30,12 @@ #include #if defined(WIN32) && !defined(__CYGWIN__) # include +# if !defined(__WATCOMC__) // Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs // on Windows, which is supposed to be POSIX compliant... -# define chdir _chdir -# define putenv _putenv +# define chdir _chdir +# define putenv _putenv +# endif // !__WATCOMC__ #else # include #endif -- cgit v1.2.3