mdbx: add MDBX_DEPRECATED macro.

Change-Id: I87e14b37a6d152fa1f69f4a74e16244870dedb0f
This commit is contained in:
Leonid Yuriev
2020-07-07 19:33:17 +03:00
parent e34e58f529
commit fab6ddee14
2 changed files with 23 additions and 15 deletions

View File

@@ -90,6 +90,11 @@
#pragma warning(disable : 4200) /* nonstandard extension used: zero-sized array in struct/union */
#endif /* _MSC_VER (warnings) */
#if defined(MDBX_TOOLS)
#undef MDBX_DEPRECATED
#define MDBX_DEPRECATED
#endif /* MDBX_TOOLS */
#include "../mdbx.h"
#include "defs.h"