[vlc-devel] [PATCH] compat:flockfile: fix linking with MinGW64

Jean-Baptiste Kempf jb at videolan.org
Mon Mar 7 14:33:32 CET 2016

On 26 Feb, Steve Lhomme wrote :
> We detect the presence of _lock_file() by testing linking, but when compiling
> we include <stdio.h> that forces an incorrect runtime linkage in recent MinGW.
> It is defined as _lock_file in msvcrt but __imp_lock_file in msvcrt120.

Sorry, but this is too hackish.

With my kindest regards,

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list