mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:14:12 +08:00
mdbx-test: add workaround for modern libstd++ with CLANG < 4.x
This commit is contained in:
parent
3817236b68
commit
9285db6ec2
@ -18,6 +18,13 @@
|
|||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Workaround for modern libstdc++ with CLANG < 4.x */
|
||||||
|
#if defined(__SIZEOF_INT128__) && !defined(__GLIBCXX_TYPE_INT_N_0) && \
|
||||||
|
defined(__clang__) && __clang_major__ < 4
|
||||||
|
#define __GLIBCXX_BITSIZE_INT_N_0 128
|
||||||
|
#define __GLIBCXX_TYPE_INT_N_0 __int128
|
||||||
|
#endif /* Workaround for modern libstdc++ with CLANG < 4.x */
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
|
#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
|
||||||
#ifndef _WIN32_WINNT
|
#ifndef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x0601 /* Windows 7 */
|
#define _WIN32_WINNT 0x0601 /* Windows 7 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user