Skip to content

Commit

Permalink
Only define NOMINMAX if not defined already
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Aug 6, 2021
1 parent 7272606 commit ee814f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,9 @@
#include <basetsd.h>
typedef SSIZE_T ssize_t;

#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <winnt.h>

Expand Down

0 comments on commit ee814f1

Please sign in to comment.