Skip to content

Commit

Permalink
Windows incantation to try to let httplib use max()
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Monahan committed Nov 18, 2024
1 parent f227c31 commit ef43c38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gsheets_get_token.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#include <openssl/err.h>

#define CPPHTTPLIB_OPENSSL_SUPPORT
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <httplib.hpp>

#include <json.hpp>
Expand Down

0 comments on commit ef43c38

Please sign in to comment.