]> sourceware.org Git - newlib-cygwin.git/commit
Fix guard for siginfo_t and pthread_t definition
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 15 Jun 2017 13:09:39 +0000 (14:09 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 19 Jun 2017 11:00:05 +0000 (13:00 +0200)
commit0c081aa62c08c6a00bbacf629e2232dfdd8ba24d
treead22be5d91e4ba813d8831ee5e7d3fc1577c46ad
parent14ea06212bc7e585024c80b6084455559da3d22f
Fix guard for siginfo_t and pthread_t definition

Commit 8a3b3bb4d7224d419cc1a4af60ccf7e70edc876b changed the guard on
some functions from _POSIX_THREADS to __POSIX_VISIBLE. As a consequence,
some use of siginfo_t and pthread_t became visible under configurations
where _POSIX_THREADS is unset but __POSIX_VISIBLE is. Build then fails
because the definition of those types are still unavailable.

This commit make those type definition visible for __POSIX_VISIBLE
configurations. This requires moving the siginfo_t definition out of the
RTEMS specific definitions in sys/signal.h while still guarding it
against cygwin case.
newlib/libc/include/sys/_pthreadtypes.h
newlib/libc/include/sys/signal.h
This page took 0.031398 seconds and 5 git commands to generate.