From c378b2525c7b3b1df2b699e303d2f2d0420475e0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 11 Aug 2011 20:23:39 -0700 Subject: [PATCH] Move MDB_VERSION to mdb.h, use major/minor/patch --- libraries/libmdb/mdb.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/libmdb/mdb.h b/libraries/libmdb/mdb.h index 54059ff..985645d 100644 --- a/libraries/libmdb/mdb.h +++ b/libraries/libmdb/mdb.h @@ -32,6 +32,11 @@ #include +#define MDB_VERSION_MAJOR 0 +#define MDB_VERSION_MINOR 8 +#define MDB_VERSION_PATCH 0 +#define MDB_VERSION_FULL ((MDB_VERSION_MAJOR << 24) | (MDB_VERSION_MINOR << 16) | MDB_VERSION_PATCH) + struct MDB_cursor; struct MDB_txn; struct MDB_env; -- 2.7.4