mdbx-windows: fix MDBX_AVOID_CRT option & ntdll.def distribution.

Resolve https://github.com/erthink/libmdbx/issues/100

Change-Id: I18ab055e79e249fca856353b2585739c88e01758
This commit is contained in:
Leonid Yuriev
2020-05-10 03:41:28 +03:00
parent a238179c23
commit 5b4b3fa9ea
3 changed files with 17 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
#define _CRT_SECURE_NO_WARNINGS
#endif
#if !defined(_NO_CRT_STDIO_INLINE) && MDBX_BUILD_SHARED_LIBRARY && \
!defined(MDBX_TOOLS)
!defined(MDBX_TOOLS) && MDBX_AVOID_CRT
#define _NO_CRT_STDIO_INLINE
#endif
#elif !defined(_POSIX_C_SOURCE)