]> git.sur5r.net Git - openldap/commitdiff
MDB_VL32 - prevent mixing with non-VL32 builds
authorHoward Chu <hyc@openldap.org>
Wed, 23 Dec 2015 23:02:06 +0000 (23:02 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 23 Dec 2015 23:02:06 +0000 (23:02 +0000)
libraries/liblmdb/lmdb.h

index afcfe889c7f1ec261f3e15bf2621e7fac69c0fee..587a44eaf4fc2dad418b211a33818661a1ecd997 100644 (file)
@@ -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