summaryrefslogtreecommitdiff
path: root/fluid/undo.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-02-20 17:02:41 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-02-20 17:02:41 +0000
commit8ea59b412e4af50813545a836ed1c11ac00f541c (patch)
tree0b54d44d750819b99dde5d7d167d1e6158a5a856 /fluid/undo.cxx
parent658162c5096dfbe75962a3e8d37d8899a914809a (diff)
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
Diffstat (limited to 'fluid/undo.cxx')
-rw-r--r--fluid/undo.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/undo.cxx b/fluid/undo.cxx
index 502df64b4..54e0bcd6c 100644
--- a/fluid/undo.cxx
+++ b/fluid/undo.cxx
@@ -34,9 +34,11 @@
# include <io.h>
# include <windows.h>
# define getpid (int)GetCurrentProcessId
+# 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 unlink _unlink
+# define unlink _unlink
+# endif // !__WATCOMC__
#else
# include <unistd.h>
#endif // WIN32 && !__CYGWIN__