From 787761a7bf58bd69f8f80f68885d8ef8054993fb Mon Sep 17 00:00:00 2001 From: Whitetiger Date: Mon, 25 Feb 2019 13:09:31 -0500 Subject: [PATCH] Fix build error with Boost::asio --- httplib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httplib.h b/httplib.h index f918aa5..250d4ca 100644 --- a/httplib.h +++ b/httplib.h @@ -29,7 +29,9 @@ #define S_ISDIR(m) (((m)&S_IFDIR)==S_IFDIR) #endif //S_ISDIR +#ifndef NOMINMAX #define NOMINMAX +#endif //NOMINMAX #include #include