From 2c7411e9491f6ace01986626ef1f78700bdae73f Mon Sep 17 00:00:00 2001 From: badaix Date: Mon, 3 May 2021 10:03:54 +0200 Subject: [PATCH] Fix Windows compile error --- server/streamreader/stream_uri.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/streamreader/stream_uri.cpp b/server/streamreader/stream_uri.cpp index 9eff3f87..88afd0e8 100644 --- a/server/streamreader/stream_uri.cpp +++ b/server/streamreader/stream_uri.cpp @@ -16,6 +16,10 @@ along with this program. If not, see . ***/ +#ifndef NOMINMAX +#define NOMINMAX +#endif // NOMINMAX + #include "stream_uri.hpp" #include "common/aixlog.hpp" #include "common/str_compat.hpp"