Skip to content

Commit

Permalink
Merge pull request #2950 from OSGeo/backport-2949-to-8.2
Browse files Browse the repository at this point in the history
[Backport 8.2] Fix windows.h conflict with Criterion::STRICT
  • Loading branch information
rouault authored Nov 20, 2021
2 parents 2f2c150 + acfa9ce commit 30f059a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/proj/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
#error Must have C++11 or newer.
#endif

// windows.h can confict with Criterion::STRICT
#ifdef STRICT
#undef STRICT
#endif

#include <exception>
#include <map>
#include <memory>
Expand Down

0 comments on commit 30f059a

Please sign in to comment.