From b7db3d2938c53bb4d022c401984ff6bfd1d5df87 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 21 Jul 2014 08:12:27 +0200 Subject: [PATCH] [Squash/Drop] Add ROBUST_FLAG: Prep for 2 next commits --- libraries/liblmdb/mdb.c | 5 +++++ 1 file changed, 5 insertions(+) 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 */