cygwin/newlib types patchs

Robert Collins robert.collins@itdomain.com.au
Wed Mar 21 01:11:00 GMT 2001


This diff was taken from the src/ level (immediately above winsup and
newlib) - but I've split it into two... however I'm mailing them
together because if only one is applied, cygwin & newlib will no longer
place nicely together.

Chris, I hope this is a bit easier on you...


newlib ChangeLog:
21 Mar 2001 Robert Collins <rbtcollins@hotmail.com>
    * libc/include/sys/signal.h: Test for __CYGWIN__ as well as
_POSIX_THREADS
    * libc/include/sys/types.h:
      Allow __CYGWIN__ for the POSIX_THREADS types.
      Include <cygwin/types.h> rather than use the _POSIX_THREADS
structs from newlib.

cygwin ChangeLog:
21 Mar 2001 Robert Collins <rbtcollins@hotmail.com>
    * pthread.cc: Use POSIX definition of pthread_kill.
    * thread.cc: Use POSIX definition of pthread_kill.
      Remove obsolete macro NOT_IMP.
    * thread.h: Include <pthread.h>
      Remove defines duplicated in <pthread.h>
      Move typedefs for pthread_*_t to <cygwin/types.h>
    * pthread.h: Move typedefs for pthread_*_t to <cygwin/types.h>
      Remove pthread_kill and pthread_sigmask as they are now visible in
<sys/types.h>
    * include/cygwin/types.h: Add pthread_*_t typedefs for user code and
for building cygwin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib.patch
Type: text/x-diff
Size: 2373 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010321/c15da74d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: types.patch
Type: text/x-diff
Size: 6227 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010321/c15da74d/attachment-0001.bin>


More information about the Cygwin-patches mailing list