Fix openexr build on MinGW
This commit is contained in:
parent
941391c0be
commit
577d9cdece
4
3rdparty/openexr/IlmImf/ImfAutoArray.h
vendored
4
3rdparty/openexr/IlmImf/ImfAutoArray.h
vendored
@ -46,6 +46,10 @@
|
|||||||
|
|
||||||
#include "OpenEXRConfig.h"
|
#include "OpenEXRConfig.h"
|
||||||
|
|
||||||
|
#if !defined (HAVE_LARGE_STACK)
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Imf {
|
namespace Imf {
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
#include <half.h>
|
#include <half.h>
|
||||||
#include "grfmt_exr.hpp"
|
#include "grfmt_exr.hpp"
|
||||||
|
|
||||||
#if defined _MSC_VER && _MSC_VER >= 1200
|
#if defined _WIN32
|
||||||
|
|
||||||
#undef UINT
|
#undef UINT
|
||||||
#define UINT ((Imf::PixelType)0)
|
#define UINT ((Imf::PixelType)0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user