Commit e2ca452
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@7d644e11 parent e808beb commit e2ca452
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2870 | 2870 | | |
2871 | 2871 | | |
2872 | 2872 | | |
2873 | | - | |
| 2873 | + | |
2874 | 2874 | | |
2875 | 2875 | | |
2876 | 2876 | | |
| |||
0 commit comments