mdbx++: add ifndef-guard for _CRT_SECURE_NO_WARNINGS.

This commit is contained in:
Leonid Yuriev
2021-10-22 20:14:12 +03:00
parent 331232858a
commit 5babf0872e
4 changed files with 6 additions and 4 deletions

View File

@@ -23,7 +23,9 @@
#define _WIN32_WINNT 0x0601 /* Windows 7 */
#endif
#ifdef _MSC_VER
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif /* _CRT_SECURE_NO_WARNINGS */
#pragma warning(push, 1)
#pragma warning(disable : 4548) /* expression before comma has no effect; \
expected expression with side - effect */