diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-10 23:33:54 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-10 23:33:54 +0400 |
commit | b5ae313ab59b7098d554245f60e969d305c03616 (patch) | |
tree | a54329bb55765e9ed5c940f4c4ef598d25681238 /winsup/cygwin/winsup.h | |
parent | b58f5598cbc77801bdbcc1de4d2fe0027fb68493 (diff) |
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index ff684628e..509402857 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -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__( |