jehanne: don't configure realtime signals if not defined

This commit is contained in:
Giacomo Tesio 2017-05-26 01:23:55 +02:00
parent c679de21fd
commit 6dad7d612d
1 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,9 @@ initialize_newlib(void)
#ifdef SIGUNUSED
libposix_define_signal(PosixSIGUNUSED, SIGUNUSED);
#endif
#if defined(SIGRTMIN) && defined(SIGRTMAX)
libposix_define_realtime_signals(SIGRTMIN, SIGRTMAX);
#endif
/* error numbers */
libposix_define_errno(PosixE2BIG, E2BIG);