From: Howard Chu Date: Wed, 23 Dec 2015 23:02:06 +0000 (+0000) Subject: MDB_VL32 - prevent mixing with non-VL32 builds X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b9928ced4022b09cea3369c93f5bcdf4008076c;p=openldap MDB_VL32 - prevent mixing with non-VL32 builds --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index afcfe889c7..587a44eaf4 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -176,6 +176,7 @@ typedef mode_t mdb_mode_t; #ifdef MDB_VL32 typedef uint64_t mdb_size_t; +#define mdb_env_create(env) mdb_env_create_vl32(env) /**< Prevent mixing with non-VL32 builds */ #else typedef size_t mdb_size_t; #endif