aboutsummaryrefslogtreecommitdiff
path: root/include/bitset
diff options
context:
space:
mode:
Diffstat (limited to 'include/bitset')
-rw-r--r--include/bitset4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bitset b/include/bitset
index 4cc7dbdaef95..8c278cc724f1 100644
--- a/include/bitset
+++ b/include/bitset
@@ -249,9 +249,9 @@ inline _LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR
__bitset<_N_words, _Size>::__bitset(unsigned long long __v) _NOEXCEPT
#ifndef _LIBCPP_HAS_NO_CONSTEXPR
-#if __SIZE_WIDTH__ == 64
+#if __SIZEOF_SIZE_T__ == 8
: __first_{__v}
-#elif __SIZE_WIDTH__ == 32
+#elif __SIZEOF_SIZE_T__ == 4
: __first_{__v, __v >> __bits_per_word}
#else
#error This constructor has not been ported to this platform