mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
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"
|
||||
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user