Include signal.h unconditionally. (mono/mono#17430)
authorJay Krell <jaykrell@microsoft.com>
Thu, 24 Oct 2019 21:44:57 +0000 (14:44 -0700)
committerAleksey Kliger (λgeek) <alklig@microsoft.com>
Thu, 24 Oct 2019 21:44:57 +0000 (17:44 -0400)
commite94be20a49da9d95ee168d8db945c456338c7262
treefbaef2a9f6926be9ac523ed5ae8e47d5755041c5
parent0fd0c8f2ddb4d9918a8419e686b7d1b06b55f65f
Include signal.h unconditionally. (mono/mono#17430)

Some of the includes already were unconditional, including both on Win32 and Unix.
It is part of ANSI C 89, albeit in a reduced form compared to typical Unix (no sigaction).

Remove configuration of MSG_NOSIGNAL which has no other uses.

Preserve configuration of signal.h temporarily due to other uses of ifdef HAVE_SIGNAL_H.
 i.e. LLVM?

Commit migrated from https://github.com/mono/mono/commit/fc390a5f2493ae908ccf2696c4ca675d82104db6
16 files changed:
src/mono/configure.ac
src/mono/mono/metadata/metadata-verify.c
src/mono/mono/metadata/threads.c
src/mono/mono/metadata/w32process-unix.c
src/mono/mono/metadata/w32socket-unix.c
src/mono/mono/mini/driver.c
src/mono/mono/mini/exceptions-amd64.c
src/mono/mono/mini/mini-amd64.h
src/mono/mono/mini/mini-exceptions.c
src/mono/mono/mini/mini-runtime.c
src/mono/mono/mini/mini-x86.h
src/mono/mono/mini/mini.h
src/mono/mono/utils/mono-context.h
src/mono/mono/utils/mono-mmap-wasm.c
src/mono/mono/utils/mono-mmap.c
src/mono/mono/utils/mono-sigcontext.h