diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-03-14 02:11:31 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-03-14 02:11:31 +0000 |
| commit | 50a92455febba116be7a9d1bbeb46d4f2f6a6143 (patch) | |
| tree | c7357ac35bd1173623329d0fd87aa5c76b3295f1 /src/flstring.h | |
| parent | 923479622ffce8a2db0807c16437f4e66e53cbb7 (diff) | |
Fixes for SGI builds (STR#2174)
1) C++ style comments in C files converted to /* */
2) #warning's had to be #ifdef'ed out (#if !defined(sgi)..)
With these mods, 1.3.x compiles on IRIX 6.5 with no failures.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/flstring.h')
| -rw-r--r-- | src/flstring.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/flstring.h b/src/flstring.h index 7e71df081..59b43b8ae 100644 --- a/src/flstring.h +++ b/src/flstring.h @@ -51,13 +51,14 @@ # if defined(WIN32) && !defined(__CYGWIN__) # define strcasecmp(s,t) _stricmp((s), (t)) # define strncasecmp(s,t,n) _strnicmp((s), (t), (n)) -// 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... +/* 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... + */ # ifndef __WATCOMC__ # define strdup _strdup # define unlink _unlink -# endif // !__WATCOMC__ +# endif /* !__WATCOMC__ */ # elif defined(__EMX__) # define strcasecmp(s,t) stricmp((s), (t)) # define strncasecmp(s,t,n) strnicmp((s), (t), (n)) |
