Skip to content

Commit

Permalink
Fix Windows build (nanocurrency#3469)
Browse files Browse the repository at this point in the history
  • Loading branch information
theohax authored Sep 22, 2021
1 parent 9e2e8d2 commit a15f239
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nano/lib/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

#include <cstddef>
#include <iostream>

#ifdef _WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#endif

#include <limits>
#include <sstream>
#include <string_view>
Expand Down

0 comments on commit a15f239

Please sign in to comment.