[RFA] Cygwin should understand Linux errnos
Christopher Faylor
cgf-use-the-mailinglist-please@sourceware.org
Fri Aug 17 20:03:00 GMT 2012
Cygwin is supposed to emulate Linux so it should understand Linux errnos.
Ok to apply?
cgf
2012-08-13 Christopher Faylor <me.cygwin2012@cgf.cx>
* ./libc/include/sys/features.h: Define __LINUX_ERRNO_EXTENSIONS__ for
Cygwin.
Index: libc/include/sys/features.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/sys/features.h,v
retrieving revision 1.27
diff -d -u -p -r1.27 features.h
--- libc/include/sys/features.h 20 Jul 2011 19:41:15 -0000 1.27
+++ libc/include/sys/features.h 13 Aug 2012 18:49:29 -0000
@@ -92,6 +92,7 @@ extern "C" {
#endif
#ifdef __CYGWIN__
+#define __LINUX_ERRNO_EXTENSIONS__
#if !defined(__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L
#define _POSIX_VERSION 200112L
More information about the Newlib
mailing list