Im cross compiling with mingw and currently using flock for some serverside sessions.
I get error: ‘LOCK_EX’ was not declared in this scope but its not saying anything about flock itself?
Does flock work in windows or do I have to change it to use the LockFileEx? If it does work in windows what would I include to get LOCK_EX defined?