Skip to content

Commit

Permalink
Define http_listener_impl and http_server_api if CPPREST_FORCE_HTTP_L…
Browse files Browse the repository at this point in the history
…ISTENER_ASIO is defined
  • Loading branch information
garethsb committed Nov 24, 2017
1 parent b226326 commit 823f3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Release/src/http/listener/http_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "stdafx.h"

#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt))
#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt)) || defined(CPPREST_FORCE_HTTP_LISTENER_ASIO)

using namespace web::http::experimental;

Expand Down
2 changes: 1 addition & 1 deletion Release/src/http/listener/http_server_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "stdafx.h"

#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt))
#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt)) || defined(CPPREST_FORCE_HTTP_LISTENER_ASIO)
#include "http_server_impl.h"

using namespace web;
Expand Down

0 comments on commit 823f3b7

Please sign in to comment.