]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fix signal.h with _POSIX_C_SOURCE=1
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 4 Jul 2017 23:10:02 +0000 (18:10 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 5 Jul 2017 00:22:23 +0000 (19:22 -0500)
commit8a508f301cb9fb7e11f7cc2e3be7ffd42e64c25f
treec7566f71e2eab18b3af3311e9573783f7b58055a
parent56c1cfa0097ea30efb58c1f39815f9c5dc0406c5
Cygwin: fix signal.h with _POSIX_C_SOURCE=1

struct sigaction is POSIX.1-1990 but siginfo_t, which is used by its
sa_sigaction member, is POSIX.1b-1993.  Therefore it needs to be guarded
as well, and as part of a union, the struct size is protected.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
winsup/cygwin/include/cygwin/signal.h
This page took 0.029979 seconds and 5 git commands to generate.