Skip to content

Commit 2b66083

Browse files
Update llvm/lib/Support/CharSet.cpp
Co-authored-by: Hubert Tong <[email protected]>
1 parent c191ae1 commit 2b66083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Support/CharSet.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ ErrorOr<CharSetConverter> CharSetConverter::create(StringRef CSFrom,
330330
std::unique_ptr<details::CharSetConverterImplBase> Converter =
331331
std::make_unique<CharSetConverterIconv>(ConvDesc);
332332
return CharSetConverter(std::move(Converter));
333-
#endif
333+
#else
334334
return std::make_error_code(std::errc::invalid_argument);
335+
#endif
335336
}

0 commit comments

Comments
 (0)