re PR libstdc++/54727 (error: declaration of ‘UINT64_C’ must be available)
2012-09-27 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/54727 * config/cpu/i486/opt/bits/opt_random.h: Avoid UINT64_C. From-SVN: r191806
This commit is contained in:
parent
c2c47e8ff4
commit
fb95b3dfae
|
@ -1,3 +1,8 @@
|
|||
2012-09-27 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/54727
|
||||
* config/cpu/i486/opt/bits/opt_random.h: Avoid UINT64_C.
|
||||
|
||||
2012-09-26 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/ext/random: Add include checks for c++11 and <cstdint>.
|
||||
|
|
|
@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
return;
|
||||
}
|
||||
|
||||
constexpr uint64_t __maskval = UINT64_C(0xfffffffffffff);
|
||||
constexpr uint64_t __maskval = 0xfffffffffffffull;
|
||||
static const __m128i __mask = _mm_set1_epi64x(__maskval);
|
||||
static const __m128i __two = _mm_set1_epi64x(0x4000000000000000ull);
|
||||
static const __m128d __three = _mm_set1_pd(3.0);
|
||||
|
|
Loading…
Reference in New Issue