Fix w32 build. lock.c must be rewritten
Fix w32 build. lock.c must be rewritten

Maijin/sdb,alvarofe/sdb,radare/sdb,radare/sdb,alvarofe/sdb,Maijin/sdb,pombredanne/sdb,radare/sdb,Maijin/sdb,pombredanne/sdb,alvarofe/sdb,alvarofe/sdb,Maijin/sdb,Maijin/sdb,Maijin/sdb,Maijin/sdb,radare/sdb,Maijin/sdb,pombredanne/sdb,pombredanne/sdb,radare/sdb,radare/sdb,pombredanne/sdb,pombredanne/sdb,alvarofe/sdb,alvarofe/sdb,alvarofe/sdb,alvarofe/sdb,pombredanne/sdb,pombredanne/sdb,pombredanne/sdb,radare/sdb,alvarofe/sdb,radare/sdb,Maijin/sdb,alvarofe/sdb,pombredanne/sdb,radare/sdb,pombredanne/sdb,radare/sdb,alvarofe/sdb,Maijin/sdb,Maijin/sdb,radare/sdb