mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Backport concurrent queue's fixes.
420509b6678263f0fa6c0ffba87a15319238a1f2
This commit is contained in:
parent
7d6f5b875d
commit
0c1721144e
@ -242,8 +242,8 @@ namespace details {
|
|||||||
: static_cast<T>(-1);
|
: static_cast<T>(-1);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined( __clang__ )
|
#if defined(__GLIBCXX__)
|
||||||
typedef ::max_align_t std_max_align_t; // GCC forgot to add it to std:: for a while
|
typedef ::max_align_t std_max_align_t; // libstdc++ forgot to add it to std:: for a while
|
||||||
#else
|
#else
|
||||||
typedef std::max_align_t std_max_align_t; // Others (e.g. MSVC) insist it can *only* be accessed via std::
|
typedef std::max_align_t std_max_align_t; // Others (e.g. MSVC) insist it can *only* be accessed via std::
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user