mescc: Support gcc-3.2: Add getpid, signal.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 6 Jun 2018 20:14:35 +0000 (22:14 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 6 Jun 2018 20:14:35 +0000 (22:14 +0200)
commit04302b3fe4f89b8259c2a2e76ec081d015c64a15
tree6adacf579fc8cf9761cd6ff328093c21beb89aa7
parent7c4a6a88edb87584f447dee81d087ca73e3f7461
mescc: Support gcc-3.2: Add getpid, signal.

* lib/linux+gnu.c (getpid, signal): New function.
* include/signal.h: Declare signal.
* include/unistd.h: Declare getpid.
* scaffold/tests/95-signal.c: Test it.
* build-aux/check-mescc.sh (tests): Run it.
build-aux/check-mescc.sh
include/signal.h
include/sys/stat.h
include/unistd.h
lib/binutils.c
lib/linux+gnu.c
lib/m4.c
scaffold/tests/95-signal.c [new file with mode: 0644]