Skip to content
Snippets Groups Projects
Commit 9d35096b authored by Adrien Béraud's avatar Adrien Béraud
Browse files

upnp: only include std when available

Change-Id: I7b63b7e8afac3151b542cbcfcea5da770fd4c845
parent 66bb3c6c
Branches release/windows-test/201910
Tags
No related merge requests found
...@@ -24,7 +24,11 @@ ...@@ -24,7 +24,11 @@
#include "protocol/upnp_protocol.h" #include "protocol/upnp_protocol.h"
#include <asio/steady_timer.hpp> #include <asio/steady_timer.hpp>
#if __has_include(<fmt/std.h>)
#include <fmt/std.h> #include <fmt/std.h>
#else
#include <fmt/ostream.h>
#endif
namespace dhtnet { namespace dhtnet {
namespace upnp { namespace upnp {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment