diff options
Diffstat (limited to 'src/flstring.h')
| -rw-r--r-- | src/flstring.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/flstring.h b/src/flstring.h index df1615c3d..a3c454f44 100644 --- a/src/flstring.h +++ b/src/flstring.h @@ -1,5 +1,5 @@ /* - * "$Id: flstring.h,v 1.1.2.8 2002/07/14 19:08:25 easysw Exp $" + * "$Id: flstring.h,v 1.1.2.9 2002/07/17 06:09:26 matthiaswm Exp $" * * Common string header file for the Fast Light Tool Kit (FLTK). * @@ -53,6 +53,16 @@ # define strncasecmp(s,t,n) strnicmp((s), (t), (n)) # endif /* WIN32 */ +// MetroWerks' CodeWarrior put thes "non-standard" functions int <extras.h> +// which unfortunatly does not play well otherwise when included - to be resolved +# if defined __APPLE__ && defined __MWERKS__ + extern "C" { + int strcasecmp(const char*,const char*); + int strncasecmp(const char*,const char*,int); + char *strdup(const char*); + } +# endif + # ifdef __cplusplus extern "C" { # endif /* __cplusplus */ @@ -88,5 +98,5 @@ FL_EXPORT extern size_t fl_strlcpy(char *, const char *, size_t); #endif /* !flstring_h */ /* - * End of "$Id: flstring.h,v 1.1.2.8 2002/07/14 19:08:25 easysw Exp $". + * End of "$Id: flstring.h,v 1.1.2.9 2002/07/17 06:09:26 matthiaswm Exp $". */ |
