mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:04:13 +08:00
mdbx: minor fix for MSVC2019.
Change-Id: I628049e7c3a653ec3b549c45450677ec5ab883a7
This commit is contained in:
parent
9ddfa4f9c8
commit
25e20315ae
@ -870,8 +870,8 @@ static __inline bool mdbx_atomic_compare_and_swap64(volatile uint64_t *p,
|
|||||||
|
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1900 && _MSC_VER < 1920
|
#if defined(_MSC_VER) && _MSC_VER >= 1900
|
||||||
/* LY: MSVC 2015/2017 has buggy/inconsistent PRIuPTR/PRIxPTR macros
|
/* LY: MSVC 2015/2017/2019 has buggy/inconsistent PRIuPTR/PRIxPTR macros
|
||||||
* for internal format-args checker. */
|
* for internal format-args checker. */
|
||||||
#undef PRIuPTR
|
#undef PRIuPTR
|
||||||
#undef PRIiPTR
|
#undef PRIiPTR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user