diff options
author | Christopher Faylor <me@cgf.cx> | 2001-08-14 14:36:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-08-14 14:36:58 +0000 |
commit | 4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506 (patch) | |
tree | 22806b655bb076e72d0f1d39c164fd923a886fdc /newlib/libc/include/sys/errno.h | |
parent | 6a574f1ad6df42447a242b521c3bdc9e9039910c (diff) | |
download | cygnal-4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506.tar.gz cygnal-4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506.tar.bz2 cygnal-4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506.zip |
* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.
* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.
Diffstat (limited to 'newlib/libc/include/sys/errno.h')
-rw-r--r-- | newlib/libc/include/sys/errno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h index 1b5f216d8..672d99eac 100644 --- a/newlib/libc/include/sys/errno.h +++ b/newlib/libc/include/sys/errno.h @@ -17,6 +17,10 @@ extern int *__errno _PARAMS ((void)); extern __IMPORT _CONST char * _CONST _sys_errlist[]; extern __IMPORT int _sys_nerr; +#ifdef __CYGWIN__ +extern __IMPORT const char * const sys_errlist[]; +extern __IMPORT int sys_nerr; +#endif #define __errno_r(ptr) ((ptr)->_errno) |