Skip to content

Commit

Permalink
Fix build error if defined _WIN32_WINNT
Browse files Browse the repository at this point in the history
  • Loading branch information
phprus committed Oct 7, 2021
1 parent 70bf10c commit 648eecb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/common/utils_report.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
// Suppress "typedef ignored ... when no variable is declared" warning by vc14
#pragma warning (push)
#pragma warning (disable: 4091)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <dbghelp.h>
#pragma warning (pop)
#pragma comment (lib, "dbghelp.lib")
Expand Down

0 comments on commit 648eecb

Please sign in to comment.