From: Andrey Kamaev Date: Wed, 30 Jan 2013 12:36:50 +0000 (+0400) Subject: Solve conflict between tiff.h and opencv2/core/types_c.h X-Git-Tag: accepted/2.0/20130307.220821~162^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11871528cee96fc7133bfc3093903f4689abb0cc;p=profile%2Fivi%2Fopencv.git Solve conflict between tiff.h and opencv2/core/types_c.h Сonflict exists between some versions of libtiff and opencv headers --- diff --git a/modules/highgui/test/test_grfmt.cpp b/modules/highgui/test/test_grfmt.cpp index 28d30c9..c408d89 100644 --- a/modules/highgui/test/test_grfmt.cpp +++ b/modules/highgui/test/test_grfmt.cpp @@ -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