mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:44:13 +08:00
mdbx: minor fix for __gnu_linux__.
Change-Id: Ic262bf863927fe86ab0091d809388569f0d59bec
This commit is contained in:
parent
8921da2787
commit
f6ba670cd0
@ -882,7 +882,7 @@ MDBX_INTERNAL_FUNC int mdbx_msync(mdbx_mmap_t *map, size_t offset,
|
||||
return MDBX_SUCCESS;
|
||||
return GetLastError();
|
||||
#else
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__gnu_linux__)
|
||||
if (async && mdbx_linux_kernel_version > 0x02061300)
|
||||
/* Since Linux 2.6.19, MS_ASYNC is in fact a no-op,
|
||||
since the kernel properly tracks dirty pages and flushes them to storage
|
||||
|
Loading…
x
Reference in New Issue
Block a user