diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-12-13 10:33:55 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-12-13 10:33:55 +0000 |
commit | 5642c35aae2e3c26724dae929c13bf09e3344078 (patch) | |
tree | 99e048d68ef6a7c72382e1e7f18ff592e47952ae /winsup/cygwin/string.h | |
parent | 1feea0bfd74d260dcd52618edec238808ada47ac (diff) | |
download | newlib-5642c35aae2e3c26724dae929c13bf09e3344078.zip newlib-5642c35aae2e3c26724dae929c13bf09e3344078.tar.gz newlib-5642c35aae2e3c26724dae929c13bf09e3344078.tar.bz2 |
* string.h: Guard cygwin internal string function definitions with
__INSIDE_CYGWIN__.
Diffstat (limited to 'winsup/cygwin/string.h')
-rw-r--r-- | winsup/cygwin/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |