diff options
author | Martin Storsjö <martin@martin.st> | 2014-12-16 00:55:30 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-12-20 00:24:47 +0300 |
commit | 8ebf02f8f530240edf7e45f35f7647ef9dd44a58 (patch) | |
tree | 470e582d937b3e2218113b670e3204a817db786d /configure | |
parent | fc308b30bb24e623fed042ec78b10803b2362a18 (diff) |
libavformat: Only use MoveFileExA when targeting the desktop API subset
The MoveFileExA is available in the headers regardless which API
subset is targeted, but it is missing in the Windows Phone link
libraries. When targeting Windows Store apps, the function is
available both in the headers and in the link libraries, and thus
there is no indication for the build system that this function
should be avoided - such an indication is only given by the
Windows App Certification Kit, which forbids using the MoveFileExA
function.
Therefore check the WINAPI_FAMILY defines instead, to figure out
which API subset is targeted.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1466,7 +1466,6 @@ SYSTEM_FUNCS=" localtime_r mach_absolute_time MapViewOfFile - MoveFileExA memalign mkstemp mmap @@ -4100,7 +4099,6 @@ check_func_headers windows.h GetProcessAffinityMask check_func_headers windows.h GetProcessTimes check_func_headers windows.h GetSystemTimeAsFileTime check_func_headers windows.h MapViewOfFile -check_func_headers windows.h MoveFileExA check_func_headers windows.h SetConsoleTextAttribute check_func_headers windows.h Sleep check_func_headers windows.h VirtualAlloc |