diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-07-17 06:09:26 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-07-17 06:09:26 +0000 |
| commit | dfefc7b244c493ee7c90329882c7f76156f09fae (patch) | |
| tree | 0248c420aadb9e028676a8fb28809308fdb120ee /src/flstring.h | |
| parent | c48c20c49c12e7659cf425823d4ebc349ad37dca (diff) | |
First steps in CodeWarrior on OS_X support.
(Praise the day when I finally stop screwing up cvs ;-/ )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 $". */ |
