MDB_VL32 - prevent mixing with non-VL32 builds

rawpart
Howard Chu 9 years ago
parent 90d1ee279f
commit 7b9928ced4
  1. 1
      libraries/liblmdb/lmdb.h

@ -176,6 +176,7 @@ typedef mode_t mdb_mode_t;
#ifdef MDB_VL32 #ifdef MDB_VL32
typedef uint64_t mdb_size_t; typedef uint64_t mdb_size_t;
#define mdb_env_create(env) mdb_env_create_vl32(env) /**< Prevent mixing with non-VL32 builds */
#else #else
typedef size_t mdb_size_t; typedef size_t mdb_size_t;
#endif #endif

Loading…
Cancel
Save