mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 05:46:16 +00:00
[C++][RestSDK] Windows vcpkg vs2017 support (#2751)
* Add boost-uid to vcpkg isntall command. It's required. * Add instructions for building on visual studio 2017 * Add section to support vcpkg and visual studio * Undef U on windows to stop compiler error * Update pet store sample * Move undef U to apiclient-header * Slight change to address compiler warning
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#include <cpprest/details/basic_types.h>
|
||||
|
||||
|
||||
#ifdef _WIN32 | _WIN64
|
||||
#undef U
|
||||
#endif
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace org {
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
#include <cpprest/details/basic_types.h>
|
||||
|
||||
|
||||
#ifdef _WIN32 | _WIN64
|
||||
#undef U
|
||||
#endif
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace org {
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
#include <cpprest/details/basic_types.h>
|
||||
|
||||
|
||||
#ifdef _WIN32 | _WIN64
|
||||
#undef U
|
||||
#endif
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace org {
|
||||
|
||||
Reference in New Issue
Block a user