mdbx-windows: minor refine LCK_BODY_LEN.

Change-Id: Id02434a12ba66f15b2aa624819c068f6e6fce0d3
This commit is contained in:
Leo Yuriev 2018-01-09 21:32:01 +03:00 committed by Leonid Yuriev
parent 455f60eec1
commit 18432ebfab

View File

@ -121,7 +121,7 @@ static __inline BOOL funlock(mdbx_filehandle_t fd, uint64_t offset,
#define LCK_META_OFFSET 0
#define LCK_META_LEN 0x10000u
#define LCK_BODY_OFFSET LCK_META_LEN
#define LCK_BODY_LEN (LCK_MAXLEN - LCK_BODY_OFFSET + 1u)
#define LCK_BODY_LEN (LCK_MAXLEN - LCK_BODY_OFFSET)
#define LCK_META LCK_META_OFFSET, LCK_META_LEN
#define LCK_BODY LCK_BODY_OFFSET, LCK_BODY_LEN
#define LCK_WHOLE 0, LCK_MAXLEN