mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx: avoid refs to mdbx_runtime_flags from tools.
This commit is contained in:
parent
55ca2f0ed1
commit
b3a9b3ca1a
@ -864,7 +864,9 @@ typedef struct MDBX_ntxn {
|
|||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
/* Debug and Logging stuff */
|
/* Debug and Logging stuff */
|
||||||
|
|
||||||
|
#ifndef mdbx_runtime_flags /* avoid override from tools */
|
||||||
extern int mdbx_runtime_flags;
|
extern int mdbx_runtime_flags;
|
||||||
|
#endif
|
||||||
extern MDBX_debug_func *mdbx_debug_logger;
|
extern MDBX_debug_func *mdbx_debug_logger;
|
||||||
extern txnid_t mdbx_debug_edge;
|
extern txnid_t mdbx_debug_edge;
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
/* Avoid reference to mdbx_runtime_flags from assert() */
|
||||||
|
#define mdbx_runtime_flags (~0u)
|
||||||
#include "../bits.h"
|
#include "../bits.h"
|
||||||
|
|
||||||
typedef struct flagbit {
|
typedef struct flagbit {
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
/* Avoid reference to mdbx_runtime_flags from assert() */
|
||||||
|
#define mdbx_runtime_flags (~0u)
|
||||||
#include "../bits.h"
|
#include "../bits.h"
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
/* Avoid reference to mdbx_runtime_flags from assert() */
|
||||||
|
#define mdbx_runtime_flags (~0u)
|
||||||
#include "../bits.h"
|
#include "../bits.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#define PRINT 1
|
#define PRINT 1
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
/* Avoid reference to mdbx_runtime_flags from assert() */
|
||||||
|
#define mdbx_runtime_flags (~0u)
|
||||||
#include "../bits.h"
|
#include "../bits.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
|
||||||
#endif /* _MSC_VER (warnings) */
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
/* Avoid reference to mdbx_runtime_flags from assert() */
|
||||||
|
#define mdbx_runtime_flags (~0u)
|
||||||
#include "../bits.h"
|
#include "../bits.h"
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user