From cabead30b5a8c2990d10d0e1661e3733c1089396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 31 Mar 2022 00:31:49 +0300 Subject: [PATCH] mdbx: minor cosmetics. --- ChangeLog.md | 2 +- mdbx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 0505e704..88194be4 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -33,7 +33,7 @@ Fixes: Minors: - - Resolve minor MSVC warnings: avoid `/INCREMENTAL[:YES]` with '/LTCG', `/W4` with `/W3`, the `C5105` warning. + - Resolve minor MSVC warnings: avoid `/INCREMENTAL[:YES]` with `/LTCG`, `/W4` with `/W3`, the `C5105` warning. - Switched to using `MDBX_EPERM` instead of `MDBX_RESULT_TRUE' to indicate that the geometry cannot be updated. - Added `NULL` checking during memory allocation inside `mdbx_chk`. - Resolved all warnings from MinGW while used without CMake. diff --git a/mdbx.h b/mdbx.h index c793a103..2ca9a4e1 100644 --- a/mdbx.h +++ b/mdbx.h @@ -465,7 +465,7 @@ typedef mode_t mdbx_mode_t; #else #define MDBX_PRINTF_ARGS(format_index, first_arg) \ __attribute__((__format__(__printf__, format_index, first_arg))) -#endif /* __MINGW_PRINTF_FORMAT */ +#endif /* MinGW */ #else #define MDBX_PRINTF_ARGS(format_index, first_arg) #endif