Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: Include a header in the check for _beginthread
Previously, the test tried compiling a call to the _beginthread function without either declaring the function (and its parameters) or including the corresponding header. Since Clang 15 (which still is under development, so this may still change before it's released) [1], implicit function declarations are a hard error by default, when building code in C99 mode (or newer). [1] llvm/llvm-project@7d644e1
- Loading branch information