diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-02-20 17:02:41 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-02-20 17:02:41 +0000 |
| commit | 8ea59b412e4af50813545a836ed1c11ac00f541c (patch) | |
| tree | 0b54d44d750819b99dde5d7d167d1e6158a5a856 /src/flstring.h | |
| parent | 658162c5096dfbe75962a3e8d37d8899a914809a (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 'src/flstring.h')
| -rw-r--r-- | src/flstring.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flstring.h b/src/flstring.h index eb6d18ea3..da114b2c6 100644 --- a/src/flstring.h +++ b/src/flstring.h @@ -54,8 +54,10 @@ // Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs // on Windows, which is supposed to be POSIX compliant... Some of these functions // are also defined in ISO C99... -# define strdup _strdup -# define unlink _unlink +# if !defined(__WATCOMC__) +# define strdup _strdup +# define unlink _unlink +# endif // !__WATCOMC__ # elif defined(__EMX__) # define strcasecmp(s,t) stricmp((s), (t)) # define strncasecmp(s,t,n) strnicmp((s), (t), (n)) |
