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

@@ -18,7 +18,13 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#if (defined(__MINGW__) || defined(__MINGW32__) || defined(__MINGW64__)) && \
!defined(__USE_MINGW_ANSI_STDIO)
#define __USE_MINGW_ANSI_STDIO 1
#endif /* MinGW */
#include "mdbx.h"
#include <limits.h>
#include <stdint.h>
#include <stdio.h>