* string.h: Guard cygwin internal string function definitions with

__INSIDE_CYGWIN__.
This commit is contained in:
Corinna Vinschen 2007-12-13 10:33:55 +00:00
parent 1feea0bfd7
commit 5642c35aae
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-12-13 Corinna Vinschen <corinna@vinschen.de>
* string.h: Guard cygwin internal string function definitions with
__INSIDE_CYGWIN__.
2007-12-12 Corinna Vinschen <corinna@vinschen.de>
* dcrt0.cc: Include string.h.

View File

@ -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 */