-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrap <csignal> include with ifdef #177
Comments
I just pushed the changes - the CI should pass the tests as well :) |
Thanks @onqtam. Sorry I forgot and provided the single include diff instead of the parts file. -Benbuck |
This issue has reappeared in the current master branch. I noticed while trying to compile doctest to standalone wasm using Emscripten (standalone wasm doesn't have signals). |
Can confirm, I am on a platform that does not have signals and I'm running into this error as well. |
Hi @onqtam,
One of the platforms I am using doctest on doesn't support signals, so I made sure to disable DOCTEST_CONFIG_POSIX_SIGNALS. However, since this platform doesn't have the header either, I also had to wrap that include with an ifdef:
I think it should be harmless if the platform does have signals. Is this something you would be willing to add to doctest? If so, please let me know if you'd like me to make a pull request.
Thanks,
Benbuck
The text was updated successfully, but these errors were encountered: