Skip to content

Commit d394700

Browse files
committed
* Avoid the use of min max macros in Windows
1 parent ee08966 commit d394700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/boost/compute/algorithm/accumulate.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
#ifndef BOOST_COMPUTE_ALGORITHM_ACCUMULATE_HPP
1212
#define BOOST_COMPUTE_ALGORITHM_ACCUMULATE_HPP
1313

14+
#ifdef _WIN32
15+
#define NOMINMAX
16+
#endif
17+
1418
#include <boost/preprocessor/seq/for_each.hpp>
1519

1620
#include <boost/compute/system.hpp>

0 commit comments

Comments
 (0)