nanosleep() patch

Jason Tishler jason@tishler.net
Fri Jan 24 15:51:00 GMT 2003


On Wed, Jan 22, 2003 at 11:44:02AM +0100, Corinna Vinschen wrote:
> I like that patch.  Applied.

I just realized that nanosleep() is not getting declared.  Is the
attached patch the best solution?  If so, then I will submit a patch to
newlib.  If not, what is?

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
-------------- next part --------------
Index: features.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/features.h,v
retrieving revision 1.5
diff -u -p -r1.5 features.h
--- features.h	20 Jun 2002 19:51:24 -0000	1.5
+++ features.h	24 Jan 2003 15:38:44 -0000
@@ -87,6 +87,7 @@ extern "C" {
 # define _POSIX_THREAD_PRIORITY_SCHEDULING       1
 # define _POSIX_THREAD_ATTR_STACKSIZE            1
 # define _POSIX_SEMAPHORES                       1
+#define _POSIX_TIMERS                            1
 #endif
 
 #ifdef __cplusplus


More information about the Cygwin-patches mailing list