diff options
author | Martin Storsjö <martin@martin.st> | 2012-11-30 16:57:02 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-11-30 16:57:02 +0200 |
commit | 3bbe63d1a45853c6b760f1ea9551668568bff7ee (patch) | |
tree | 6e2fdb597424033e186f3aafa57ff787c68c17a3 /configure | |
parent | 7e6a11bcf71777ea54a32916411bcebed0e90842 (diff) | |
download | ffmpeg-3bbe63d1a45853c6b760f1ea9551668568bff7ee.tar.gz |
configure: Use headers in the check for _beginthreadex for w32threads
When targeting the metro API subset, this function still exists in
the link libraries, but is excluded from the headers. This makes
sure w32threads is automatically disabled when targeting this API
subset (since not all the necessary functions for it are available).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3332,7 +3332,7 @@ disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib if ! disabled w32threads && ! enabled pthreads; then - check_func _beginthreadex && enable w32threads + check_func_headers "windows.h process.h" _beginthreadex && enable w32threads fi # check for some common methods of building with pthread support |