mdbx: portability - rename lck-posix.c to lck-linux.c

Change-Id: I0ecee2b1a5d8e664eb795e5f5df2fa2d3cb73c83
This commit is contained in:
Leonid Yuriev
2019-07-15 00:29:46 +03:00
parent 6eebac1510
commit 4adb1ab2d8
4 changed files with 22 additions and 18 deletions

View File

@@ -12,6 +12,12 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#if !(defined(__linux__) || defined(__gnu_linux__))
#error "This implementation of locking only supports Linux,\
where is no interaction between the types of lock placed\
by flock() and fcntl()."
#endif
#include "./bits.h"
/* Some platforms define the EOWNERDEAD error code