mdbx-windows: уточнение проверок макросов MinGW и устранение предупреждений.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-11-08 19:44:42 +03:00
parent 2558903081
commit c270306580
6 changed files with 12 additions and 8 deletions

View File

@@ -236,10 +236,6 @@ __extern_C key_t ftok(const char *, int);
#elif _WIN32_WINNT < 0x0500
#error At least 'Windows 2000' API is required for libmdbx.
#endif /* _WIN32_WINNT */
#if (defined(__MINGW32__) || defined(__MINGW64__)) && \
!defined(__USE_MINGW_ANSI_STDIO)
#define __USE_MINGW_ANSI_STDIO 1
#endif /* MinGW */
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif /* WIN32_LEAN_AND_MEAN */