mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-22 04:08:58 +08:00
mdbx-windows: fix build for Windows XP/2000 (_WIN32_WINNT < 0x0600).
Related to https://github.com/erthink/libmdbx/issues/155 Change-Id: Ibd795817e05b6da39ef270ce7b55b31d963d07b0
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0601 /* Windows 7 */
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#pragma warning(push, 1)
|
||||
|
||||
Reference in New Issue
Block a user