From ff34e45c15395b05a2f0669f83c072e816cae0a0 Mon Sep 17 00:00:00 2001 From: Lalit Kumar Bhasin Date: Wed, 27 Apr 2022 00:59:37 +0530 Subject: [PATCH] conditional include for codecvt header --- exporters/etw/include/opentelemetry/exporters/etw/utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exporters/etw/include/opentelemetry/exporters/etw/utils.h b/exporters/etw/include/opentelemetry/exporters/etw/utils.h index 8b0a015821..0eab79f696 100644 --- a/exporters/etw/include/opentelemetry/exporters/etw/utils.h +++ b/exporters/etw/include/opentelemetry/exporters/etw/utils.h @@ -5,7 +5,6 @@ #include #include -#include #include #include #include @@ -24,6 +23,8 @@ # pragma comment(lib, "Rpcrt4.lib") # include # pragma comment(lib, "Ole32.Lib") +#else +# include #endif OPENTELEMETRY_BEGIN_NAMESPACE