Skip to content

Commit b226326

Browse files
committed
Define http_listener if CPPREST_FORCE_HTTP_LISTENER_ASIO is defined
1 parent 28919d0 commit b226326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/include/cpprest/http_listener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <boost/asio/ssl.hpp>
2222
#endif
2323

24-
#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt))
24+
#if !defined(_WIN32) || (_WIN32_WINNT >= _WIN32_WINNT_VISTA && !defined(__cplusplus_winrt)) || defined(CPPREST_FORCE_HTTP_LISTENER_ASIO)
2525

2626
namespace web
2727
{

0 commit comments

Comments
 (0)