]> granicus.if.org Git - gc/commit
Do not call set_handle_fork(1) in gctest if pthread_atfork not supported
authorIvan Maidanski <ivmai@mail.ru>
Thu, 14 Dec 2017 06:42:32 +0000 (09:42 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 14 Dec 2017 06:42:32 +0000 (09:42 +0300)
commitd3ead52a842ada81889577a7aa68e98e3bb87e54
tree07d0e169bb4a9f0746e9581d55bb46fa69a66942
parentfbc17e550f3379079f8fe8df7c21ac3c1a0d8db5
Do not call set_handle_fork(1) in gctest if pthread_atfork not supported

* tests/test.c [!NO_TEST_HANDLE_FORK && HANDLE_FORK]
(INIT_FORK_SUPPORT): Do not define to GC_set_handle_fork(1) unless
CAN_CALL_ATFORK.
tests/test.c