From ef43c38713a42fbc53d94ac8efd368c8ae1b78bd Mon Sep 17 00:00:00 2001 From: Alex-Monahan Date: Mon, 18 Nov 2024 09:01:04 -0700 Subject: [PATCH] Windows incantation to try to let httplib use max() --- src/gsheets_get_token.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gsheets_get_token.cpp b/src/gsheets_get_token.cpp index 2c2f52d..3e8e731 100644 --- a/src/gsheets_get_token.cpp +++ b/src/gsheets_get_token.cpp @@ -7,6 +7,9 @@ #include #define CPPHTTPLIB_OPENSSL_SUPPORT +#ifndef NOMINMAX +#define NOMINMAX +#endif #include #include