Skip to content

Conversation

@garethsb
Copy link
Contributor

When cpprestsdk is built with CPPREST_HTTP_LISTENER_IMPL = asio on Windows, for testing purposes (I'm trying to debug an issue encountered on Linux), the following complete source code fails to compile:

#include "cpprest/http_listener.h"
using web::http::experimental::listener::http_listener;

This is a one-line fix. (It's possible that the various preprocessor conditional expressions in this header should all be made more consistent.)

@ras0219-msft ras0219-msft merged commit 5ee4621 into microsoft:master Nov 23, 2017
@ras0219-msft
Copy link
Contributor

Looks simple, thanks for the PR!

I agree, the preprocessor macros are probably in need of a simplification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants