* winsup.h: Change strchr inline for strange gcc problem.

* select.cc (select_stuff::wait): Bounds check w4 array.
This commit is contained in:
Christopher Faylor
2000-08-10 19:33:54 +00:00
parent b58f5598cb
commit b5ae313ab5
4 changed files with 12 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ details. */
#undef strchr
#define strchr cygwin_strchr
extern inline char * strchr(const char * s, int c)
extern "C" inline __stdcall char * strchr(const char * s, int c)
{
register char * __res;
__asm__ __volatile__(