Darshit Shah <[email protected]> writes: > I think it's because flock isn't implemented in Windows. The ideal > solution would be to use some WIN32 API to get it done. However, I saw > that gnulib actually provides an implementation of flock that can be > used on Windows. > Hence, maybe just using the gnulib module may work. > > @Giuseppe, @Tim: What do you'll think?
using the gnulib module should fix the build issue, from the gnulib code I see in flock.c: "Emulate flock on platforms that lack it, primarily Windows and MinGW." I think your patch should be enough, feel free to push it. Regards, Giuseppe
