From 79fd186a5035cf16fc0ab288d8f59da8b1ba2c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 25 Nov 2014 11:08:59 +0200 Subject: lavf: Use MoveFileEx instead of rename/_wrename on windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows getting the normal unix semantics, where a rename allows replacing an existing file. Based on a suggestion by Reimar Döffinger. Signed-off-by: Martin Storsjö --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 7b3faae..355a95b 100755 --- a/configure +++ b/configure @@ -1466,6 +1466,7 @@ SYSTEM_FUNCS=" localtime_r mach_absolute_time MapViewOfFile + MoveFileExA memalign mkstemp mmap @@ -4096,6 +4097,7 @@ 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 -- cgit v1.1