Move MDB_VERSION to mdb.h, use major/minor/patch

This commit is contained in:
Howard Chu 2011-08-11 20:23:39 -07:00
parent af70c0d9ce
commit c378b2525c

View file

@ -32,6 +32,11 @@
#include <sys/types.h>
#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;