Skip to content

Commit 73c338c

Browse files
committed
[LIBCXX] std::istream::sentry should be exported on MinGW
for testing by CI
1 parent af82a52 commit 73c338c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libcxx/include/istream

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,8 +1363,14 @@ operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Size>& __x) {
13631363
return __is;
13641364
}
13651365

1366+
# if defined(__MINGW32__) || defined(__CYGWIN__)
1367+
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<char>::sentry;
1368+
# endif
13661369
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<char>;
13671370
# if _LIBCPP_HAS_WIDE_CHARACTERS
1371+
# if defined(__MINGW32__) || defined(__CYGWIN__)
1372+
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<wchar_t>::sentry;
1373+
# endif
13681374
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<wchar_t>;
13691375
# endif
13701376
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<char>;

0 commit comments

Comments
 (0)