From 5642c35aae2e3c26724dae929c13bf09e3344078 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 13 Dec 2007 10:33:55 +0000 Subject: * string.h: Guard cygwin internal string function definitions with __INSIDE_CYGWIN__. --- winsup/cygwin/string.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'winsup/cygwin/string.h') diff --git a/winsup/cygwin/string.h b/winsup/cygwin/string.h index ee83119..cb87064 100644 --- a/winsup/cygwin/string.h +++ b/winsup/cygwin/string.h @@ -59,6 +59,8 @@ strechr (const char *s, int c) return res; } +#ifdef __INSIDE_CYGWIN__ + /* Don't use. Not NLS aware. */ #if 0 // Not NLS aware extern const char isalpha_array[]; @@ -145,7 +147,10 @@ char * __stdcall cygwin_strlwr (char *); #define strupr cygwin_strupr char * __stdcall cygwin_strupr (char *); +#endif /* __INSIDE_CYGWIN__ */ + #ifdef __cplusplus } #endif + #endif /* _CYGWIN_STRING_H */ -- cgit v1.1