summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/errno.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-08-14 14:36:58 +0000
committerChristopher Faylor <me@cgf.cx>2001-08-14 14:36:58 +0000
commit4acf3edf6aeeb40c28bbce6f48747fcbdcb3a506 (patch)
tree22806b655bb076e72d0f1d39c164fd923a886fdc /newlib/libc/include/sys/errno.h
parent6a574f1ad6df42447a242b521c3bdc9e9039910c (diff)
downloadcygnal-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.h4
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)