mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-19 19:38:21 +08:00
mdbx: использование при наличии EREMOTEIO
вместо ENOTBLK
в качестве MDBX_EREMOTE
.
This commit is contained in:
parent
950db52fe8
commit
e4054b56c3
5
mdbx.h
5
mdbx.h
@ -1999,7 +1999,12 @@ typedef enum MDBX_error {
|
||||
MDBX_EPERM = EPERM,
|
||||
MDBX_EINTR = EINTR,
|
||||
MDBX_ENOFILE = ENOENT,
|
||||
#if defined(EREMOTEIO) || defined(DOXYGEN)
|
||||
/** Cannot use the database on a network file system or when exporting it via NFS. */
|
||||
MDBX_EREMOTE = EREMOTEIO,
|
||||
#else
|
||||
MDBX_EREMOTE = ENOTBLK,
|
||||
#endif /* EREMOTEIO */
|
||||
MDBX_EDEADLK = EDEADLK
|
||||
#endif /* !Windows */
|
||||
} MDBX_error_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user