Commit 577d9cde authored by Andrey Kamaev's avatar Andrey Kamaev

Fix openexr build on MinGW

parent 941391c0
......@@ -46,6 +46,10 @@
#include "OpenEXRConfig.h"
#if !defined (HAVE_LARGE_STACK)
#include <string.h>
#endif
namespace Imf {
......
......@@ -56,7 +56,7 @@
#include <half.h>
#include "grfmt_exr.hpp"
#if defined _MSC_VER && _MSC_VER >= 1200
#if defined _WIN32
#undef UINT
#define UINT ((Imf::PixelType)0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment