From 4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 14 Aug 2001 14:36:58 +0000 Subject: * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments. * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin. --- newlib/libc/include/sys/errno.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newlib/libc/include/sys/errno.h') 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) -- cgit v1.2.3