--- bits/random.h +++ bits/random.h @@ -101,10 +101,12 @@ { typedef unsigned long long type; }; #ifdef _GLIBCXX_USE_INT128 +#ifndef __clang__ template struct _Select_uint_least_t<__s, 1> { typedef unsigned __int128 type; }; #endif +#endif // Assume a != 0, a < m, c < m, x < m. template #if __cplusplus >= 201103L +#ifndef __clang__ namespace std { // We handle size_t, ptrdiff_t, and nullptr_t in c++config.h. using ::max_align_t; } #endif +#endif #endif // _GLIBCXX_CSTDDEF