-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dave Korn wrote: > Should signal.h perhaps wrap the stuff tagged 'CX' and 'RTS' at > http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > in #ifndef __STICT_ANSI__ ?
Actually, it looks like someone already thought about that, but never enabled it. There is a commented-out #ifndef __STRICT_ANSI__ which excludes about half of sys/signal.h. *UNTESTED* patch attached. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAknLD0oACgkQpiWmPGlmQSNOdACgt94H5NhK+AoIFSIb4ErJ0/sa RDQAoIJSRl4/wwmhZpR55jew4uKClJo1 =dQPl -----END PGP SIGNATURE-----
Index: libc/include/sys/signal.h =================================================================== RCS file: /cvs/src/src/newlib/libc/include/sys/signal.h,v retrieving revision 1.18 diff -u -r1.18 signal.h --- libc/include/sys/signal.h 18 Apr 2006 20:06:09 -0000 1.18 +++ libc/include/sys/signal.h 26 Mar 2009 05:14:19 -0000 @@ -9,7 +9,7 @@ #include "_ansi.h" #include <sys/features.h> -/* #ifndef __STRICT_ANSI__*/ +#ifndef __STRICT_ANSI__ #if defined(_POSIX_THREADS) #include <sys/types.h> /* for pthread data types */ @@ -187,7 +187,7 @@ #endif /* defined(__CYGWIN__) || defined(__rtems__) */ -/* #endif __STRICT_ANSI__ */ +#endif /* __STRICT_ANSI__ */ #if defined(___AM29K__) /* These all need to be defined for ANSI C, but I don't think they are
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/