ecore_signal.c: factoring out the platform test to improve readability.
authorBenjamin Jacobs <benj@spam.thsi.be>
Mon, 6 Jun 2016 18:14:55 +0000 (11:14 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 6 Jun 2016 19:05:43 +0000 (12:05 -0700)
commitb548a6396bb10f8de1c15dbe22c9b6e191b2b298
tree877c751334a84af3c71fa96c765d3f4ea4ad504e
parent180e64653d8a06609dc6ad22d58fa51455e40cf9
ecore_signal.c: factoring out the platform test to improve readability.

Turns out there is no PRI?SIGATOMIC in the C99 standard. Work around
that by deducing the effective integer type by comparing the
SIG_ATOMIC_MAX with integers *MAX.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore/ecore_signal.c