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 6, 2021
1 parent 70bf10c commit d9838b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/common/utils_report.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
// Suppress "typedef ignored ... when no variable is declared" warning by vc14
#pragma warning (push)
#pragma warning (disable: 4091)
#define NOMINMAX
#include <windows.h>
#include <dbghelp.h>
#pragma warning (pop)
#pragma comment (lib, "dbghelp.lib")
Expand Down

0 comments on commit d9838b9

Please sign in to comment.