Solve conflict between tiff.h and opencv2/core/types_c.h

Сonflict exists between some versions of libtiff and opencv headers
This commit is contained in:
Andrey Kamaev 2013-01-30 16:36:50 +04:00
parent 3a55fb9d1b
commit 11871528ce

View File

@ -294,7 +294,12 @@ TEST(Highgui_Jpeg, encode_empty)
#ifdef HAVE_TIFF
// these defines are used to resolve conflict between tiff.h and opencv2/core/types_c.h
#define uint64 uint64_hack_
#define int64 int64_hack_
#include "tiff.h"
TEST(Highgui_Tiff, decode_tile16384x16384)
{
// see issue #2161