mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: minor cosmetics.
This commit is contained in:
parent
688d4495c5
commit
cabead30b5
@ -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.
|
||||
|
2
mdbx.h
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user