{"action":"created","issue":{"url":"https://api.github.com/repos/cpputest/cpputest/issues/567","labels_url":"https://api.github.com/repos/cpputest/cpputest/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/cpputest/cpputest/issues/567/comments","events_url":"https://api.github.com/repos/cpputest/cpputest/issues/567/events","html_url":"https://github.com/cpputest/cpputest/issues/567","id":65851361,"number":567,"title":"Handling of Platforms Without fork()","user":{"login":"arstrube","id":4686469,"avatar_url":"https://avatars.githubusercontent.com/u/4686469?v=3","gravatar_id":"","url":"https://api.github.com/users/arstrube","html_url":"https://github.com/arstrube","followers_url":"https://api.github.com/users/arstrube/followers","following_url":"https://api.github.com/users/arstrube/following{/other_user}","gists_url":"https://api.github.com/users/arstrube/gists{/gist_id}","starred_url":"https://api.github.com/users/arstrube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arstrube/subscriptions","organizations_url":"https://api.github.com/users/arstrube/orgs","repos_url":"https://api.github.com/users/arstrube/repos","events_url":"https://api.github.com/users/arstrube/events{/privacy}","received_events_url":"https://api.github.com/users/arstrube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-02T06:22:52Z","updated_at":"2015-08-02T18:16:52Z","closed_at":null,"body":"Currently, Win32/MinGW is considered the only platform without fork(), reflected by `__MINGW32__` (or some such) being defined. I thinke VC is excluded via __MSC_VER.\r\n\r\nAs I am revisiting the TI CL2000, I realize this is a platform without fork() also. And in fact, the majority of embedded platforms (e.g. that are not running some sort of OS) will be like that. So it doesn't really make sense to include ever more platforms in these conditional compilations.\r\n\r\nAs a workaround, I can of course define `__MINGW32__` when compiling for such platforms, or live with the failures. However, wouldn't it more elegant to have a definition such as `__CAN_FORK__` and set this via configuration? "},"comment":{"url":"https://api.github.com/repos/cpputest/cpputest/issues/comments/127051759","html_url":"https://github.com/cpputest/cpputest/issues/567#issuecomment-127051759","issue_url":"https://api.github.com/repos/cpputest/cpputest/issues/567","id":127051759,"user":{"login":"basvodde","id":509919,"avatar_url":"https://avatars.githubusercontent.com/u/509919?v=3","gravatar_id":"","url":"https://api.github.com/users/basvodde","html_url":"https://github.com/basvodde","followers_url":"https://api.github.com/users/basvodde/followers","following_url":"https://api.github.com/users/basvodde/following{/other_user}","gists_url":"https://api.github.com/users/basvodde/gists{/gist_id}","starred_url":"https://api.github.com/users/basvodde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvodde/subscriptions","organizations_url":"https://api.github.com/users/basvodde/orgs","repos_url":"https://api.github.com/users/basvodde/repos","events_url":"https://api.github.com/users/basvodde/events{/privacy}","received_events_url":"https://api.github.com/users/basvodde/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T18:16:52Z","updated_at":"2015-08-02T18:16:52Z","body":"@arstrube A key problem that isn't solved related to HAVE_FORK and automake is that automake should generate a distributable config.h, so that when using make install it will install the generated file. It should then not be called config.h but generate something like CppUTestConfig.h. This is a long standing open issue which prevents the serious use of automake (or CMake) for things like this."}}