Skip to content

Try compiling a C file to detect __thread support

Bitbucket Importer requested to merge bitbucket/declined-pr-19 into branch/default

Created originally on Bitbucket by Aaron Gallagher

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

This is different from the current support, which just tries detecting a handful of OSes. OpenBSD was not on the list, does not support __thread, and was failing. Actually trying to compile a C program is a bit more robust of a solution to detect __thread support.

Merge request reports