From 24c8f67156733428f93e183615ddf5d6330fd4f3 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Fri, 2 Sep 2022 12:12:10 -0400 Subject: [PATCH] fix(storage): no workaround needed with libc++ and MSVC (#9768) --- google/cloud/storage/internal/policy_document_request.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/storage/internal/policy_document_request.cc b/google/cloud/storage/internal/policy_document_request.cc index 6ae490352b006..2d9d62deffa0d 100644 --- a/google/cloud/storage/internal/policy_document_request.cc +++ b/google/cloud/storage/internal/policy_document_request.cc @@ -91,7 +91,7 @@ bool EscapeAsciiChar(std::string& result, char32_t c) { StatusOr PostPolicyV4EscapeUTF8(std::string const& utf8_bytes) { std::string result; -#if (_MSC_VER >= 1900) +#if (_MSC_VER >= 1900) && !defined(_LIBCPP_VERSION) // Working around missing std::codecvt_utf8 symbols in MSVC // Microsoft bug number: VSO#143857 // Context: