mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ldb_mdb: #ifdef EBADE as it is not portable
E.g. FreeBSD 11.2 doesn't have it. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
e7ef0c97e9
commit
591d72f9c7
@ -40,7 +40,9 @@ int ldb_mdb_err_map(int lmdb_err)
|
||||
return LDB_SUCCESS;
|
||||
case EIO:
|
||||
return LDB_ERR_OPERATIONS_ERROR;
|
||||
#ifdef EBADE
|
||||
case EBADE:
|
||||
#endif
|
||||
case MDB_INCOMPATIBLE:
|
||||
case MDB_CORRUPTED:
|
||||
case MDB_INVALID:
|
||||
|
Loading…
Reference in New Issue
Block a user