Skip to content

Commit b566c04

Browse files
committed
Remove MSVC min/max macro definitions
1 parent fbcf4ee commit b566c04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

engine/src/util/blazeutil.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
#ifndef BLAZEUTIL_H
2929
#define BLAZEUTIL_H
3030

31+
// remove MSVC min/max macro definitions
32+
#ifdef WIN32
33+
#undef min
34+
#undef max
35+
#endif
36+
3137
#include <cfloat>
3238
#include <blaze/Math.h>
3339
#include <limits>

0 commit comments

Comments
 (0)