Skip to content

Commit

Permalink
Define NOMINMAX before including Windows.h so it doesn't define its own
Browse files Browse the repository at this point in the history
min/max macros.
  • Loading branch information
ismail committed Mar 7, 2016
1 parent f3bdd78 commit 658435d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sip_hash_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <cstring>

#ifdef _WIN32
#define NOMINMAX
#include <Windows.h>
#else
#include <time.h>
Expand Down

0 comments on commit 658435d

Please sign in to comment.