diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-04 12:43:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-04 12:43:33 +0300 |
commit | c7864c27c2f621ad5010be227c86f8ff6513ecb8 (patch) | |
tree | d2d7d658c02530e2e0853972bc93f6a3759a82e0 /plugins/Dbx_mdbx/src/libmdbx/test | |
parent | 22c315a94aa18035e22a487f7ee3255e544fc8b1 (diff) |
merge with libmdbx master
Diffstat (limited to 'plugins/Dbx_mdbx/src/libmdbx/test')
-rw-r--r-- | plugins/Dbx_mdbx/src/libmdbx/test/base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/libmdbx/test/base.h b/plugins/Dbx_mdbx/src/libmdbx/test/base.h index bc82ff26c0..b23f776aa3 100644 --- a/plugins/Dbx_mdbx/src/libmdbx/test/base.h +++ b/plugins/Dbx_mdbx/src/libmdbx/test/base.h @@ -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 : \ |