mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
define NOMINMAX in the CMakefile to fix std::min and std::max on MSVC (#1308)
This commit is contained in:
@@ -14,11 +14,6 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
// This is needed for std::numeric_limits<>::min() and max() to work on Windows.
|
||||
#if defined(_WIN32)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <numeric>
|
||||
|
||||
Reference in New Issue
Block a user