Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build: fix macro issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton committed Nov 8, 2017
1 parent 6a20f8d commit a9a7dd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/node_http2_core-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

#include "node_http2_core.h"
#include "node_internals.h" // arraysize

// min and max are defined in the PAL, which interferes
// with <algorithm>'s std::min and std::max
#ifdef NODE_ENGINE_CHAKRACORE
#undef min
#undef max
#endif

#include <algorithm>

namespace node {
Expand Down

0 comments on commit a9a7dd0

Please sign in to comment.