jehanne: don't configure realtime signals if not defined

This commit is contained in:
2017-05-26 01:23:55 +02:00
parent c679de21fd
commit 6dad7d612d

View File

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