diff options
author | James Almer <jamrial@gmail.com> | 2014-10-09 13:20:00 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-10-09 13:26:44 -0300 |
commit | 0c0694931442ef9ea91eace120e0629e0ac01b76 (patch) | |
tree | a360751ff9cbb3184574d6365c16b264ca08d7f0 /configure | |
parent | 99afec08f8a107ed6026aa99956d648884bb0792 (diff) | |
download | ffmpeg-0c0694931442ef9ea91eace120e0629e0ac01b76.tar.gz |
compat/w32pthreads: use the CONDITION_VARIABLE typedef if available
This silences warnings about passing arguments from incompatible pointer type
when targeting Windows Vista or newer.
Tested-by: Matt Oliver <protogonoi@gmail.com>
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1767,6 +1767,7 @@ TOOLCHAIN_FEATURES=" " TYPES_LIST=" + CONDITION_VARIABLE_Ptr socklen_t struct_addrinfo struct_group_source_req @@ -4719,6 +4720,7 @@ check_func_headers windows.h PeekNamedPipe check_func_headers windows.h SetConsoleTextAttribute check_func_headers windows.h Sleep check_func_headers windows.h VirtualAlloc +check_struct windows.h "CONDITION_VARIABLE" Ptr check_func_headers glob.h glob enabled xlib && check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext |