summaryrefslogtreecommitdiff
path: root/thirdparty/tinyexr/tinyexr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/tinyexr/tinyexr.cc')
-rw-r--r--thirdparty/tinyexr/tinyexr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/tinyexr/tinyexr.cc b/thirdparty/tinyexr/tinyexr.cc
index 969a6d505d..fef8f66c98 100644
--- a/thirdparty/tinyexr/tinyexr.cc
+++ b/thirdparty/tinyexr/tinyexr.cc
@@ -1,2 +1,8 @@
+#if defined(_WIN32)
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
+#endif
+
#define TINYEXR_IMPLEMENTATION
#include "tinyexr.h"