diff options
author | jingham <jingham> | 2000-04-17 02:17:05 (GMT) |
---|---|---|
committer | jingham <jingham> | 2000-04-17 02:17:05 (GMT) |
commit | 6f8e7e64d4f0ed8167897480426de637d46d0ee9 (patch) | |
tree | e076e3a132eff2ca8057eb6e5117222d54775929 /mac | |
parent | 110827538072c9d24a5beefa2a150031f78d7ef4 (diff) | |
download | tk-6f8e7e64d4f0ed8167897480426de637d46d0ee9.zip tk-6f8e7e64d4f0ed8167897480426de637d46d0ee9.tar.gz tk-6f8e7e64d4f0ed8167897480426de637d46d0ee9.tar.bz2 |
Protect the define of strncasecmp, it IS present in MSL from CW Pro 5.
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tkMacPort.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mac/tkMacPort.h b/mac/tkMacPort.h index 9dc2d31..98f0f74 100644 --- a/mac/tkMacPort.h +++ b/mac/tkMacPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacPort.h,v 1.8 1999/08/01 21:25:23 hobbs Exp $ + * RCS: @(#) $Id: tkMacPort.h,v 1.9 2000/04/17 02:17:05 jingham Exp $ */ #ifndef _TKMACPORT @@ -73,11 +73,14 @@ extern int errno; #ifndef panic /* In a stubs-aware setting, this could confuse the #define */ extern void panic _ANSI_ARGS_(TCL_VARARGS(char *, string)); #endif +#ifndef strcasecmp extern int strcasecmp _ANSI_ARGS_((CONST char *s1, CONST char *s2)); +#endif +#ifndef strncasecmp extern int strncasecmp _ANSI_ARGS_((CONST char *s1, CONST char *s2, size_t n)); - +#endif /* * Defines for X functions that are used by Tk but are treated as * no-op functions on the Macintosh. |