Unified · Split
| @@ -2447,7 +2447,6 @@ case $target_os in · 2446 unmodified lines | |||
| 2447 | disable network | 2447 | disable network |
| 2448 | else | 2448 | else |
| 2449 | target_os=mingw32 | 2449 | target_os=mingw32 |
| 2450 | enable_weak w32threads | ||
| 2451 | fi | 2450 | fi |
| 2452 | LIBTARGET=i386 | 2451 | LIBTARGET=i386 |
| 2453 | if enabled x86_64; then | 2452 | if enabled x86_64; then |
| @@ -2852,6 +2851,10 @@ check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex · 398 unmodified lines | |||
| 2852 | disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib | 2851 | disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib |
| 2853 | disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib | 2852 | disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib |
| 2854 | 2853 | ||
| 2854 | if ! disabled w32threads && ! enabled pthreads; then | ||
| 2855 | check_func _beginthreadex && enable w32threads | ||
| 2856 | fi | ||
| 2857 | |||
| 2855 | # check for some common methods of building with pthread support | 2858 | # check for some common methods of building with pthread support |
| 2856 | # do this before the optional library checks as some of them require pthreads | 2859 | # do this before the optional library checks as some of them require pthreads |
| 2857 | if ! disabled pthreads && ! enabled w32threads; then | 2860 | if ! disabled pthreads && ! enabled w32threads; then |