diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 91d4997..98d67b8 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -179,6 +179,11 @@ #if MDB_DEVEL && (defined(_WIN32) || (defined(EOWNERDEAD) && !defined(MDB_USE_POSIX_SEM))) #define MDB_ROBUST_SUPPORTED 1 +#endif +#ifdef MDB_ROBUST_SUPPORTED +#define ROBUST_FLAG MDB_ROBUST +#else +#define ROBUST_FLAG 0 #endif /** Wrapper around __func__, which is a C99 feature */