diff --git a/src/aws-cpp-sdk-core/include/aws/core/http/Version.h b/src/aws-cpp-sdk-core/include/aws/core/http/Version.h index 921e0676008..538334897a7 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/http/Version.h +++ b/src/aws-cpp-sdk-core/include/aws/core/http/Version.h @@ -10,6 +10,15 @@ namespace Aws { /** * Enum to represent version of the http protocol to use */ + +#ifdef _WIN32 + #pragma push_macro("HTTP_VERSION") +#undef HTTP_VERSION_1_0 +#undef HTTP_VERSION_1_1 +#undef HTTP_VERSION_2_0 + +#pragma pop_macro("HTTP_VERSION") +#endif //#ifdef _WIN32 enum class Version { HTTP_VERSION_NONE, HTTP_VERSION_1_0,