mdbx: Windows XP compatibility.

Change-Id: Iafe3a83110610071e42a168ef9fc5f8d3131854f
This commit is contained in:
Leo Yuriev
2018-06-12 22:56:26 +03:00
parent 28eda32c12
commit 09ad941a05
8 changed files with 173 additions and 100 deletions

View File

@@ -80,6 +80,10 @@
#include "../src/defs.h"
#include "../src/osal.h"
#if !defined(__thread) && (defined(_MSC_VER) || defined(__DMC__))
#define __thread __declspec(thread)
#endif /* __thread */
#ifdef _MSC_VER
#pragma warning(pop)
#pragma warning(disable : 4201) /* nonstandard extension used : \