From: Howard Chu Date: Fri, 12 Aug 2011 03:23:39 +0000 (-0700) Subject: Move MDB_VERSION to mdb.h, use major/minor/patch X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c378b2525c7b3b1df2b699e303d2f2d0420475e0;p=openldap Move MDB_VERSION to mdb.h, use major/minor/patch --- diff --git a/libraries/libmdb/mdb.h b/libraries/libmdb/mdb.h index 54059ff9ce..985645df7d 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;