mdbx: avoid refs to mdbx_runtime_flags from tools.

This commit is contained in:
Leonid Yuriev
2019-08-27 00:29:15 +03:00
parent 55ca2f0ed1
commit b3a9b3ca1a
6 changed files with 14 additions and 0 deletions

View File

@@ -20,6 +20,8 @@
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER (warnings) */
/* Avoid reference to mdbx_runtime_flags from assert() */
#define mdbx_runtime_flags (~0u)
#include "../bits.h"
typedef struct flagbit {

View File

@@ -20,6 +20,8 @@
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER (warnings) */
/* Avoid reference to mdbx_runtime_flags from assert() */
#define mdbx_runtime_flags (~0u)
#include "../bits.h"
#if defined(_WIN32) || defined(_WIN64)

View File

@@ -20,7 +20,10 @@
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER (warnings) */
/* Avoid reference to mdbx_runtime_flags from assert() */
#define mdbx_runtime_flags (~0u)
#include "../bits.h"
#include <ctype.h>
#define PRINT 1

View File

@@ -20,7 +20,10 @@
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER (warnings) */
/* Avoid reference to mdbx_runtime_flags from assert() */
#define mdbx_runtime_flags (~0u)
#include "../bits.h"
#include <ctype.h>
#if defined(_WIN32) || defined(_WIN64)

View File

@@ -20,6 +20,8 @@
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER (warnings) */
/* Avoid reference to mdbx_runtime_flags from assert() */
#define mdbx_runtime_flags (~0u)
#include "../bits.h"
#if defined(_WIN32) || defined(_WIN64)