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

Сonflict exists between some versions of libtiff and opencv headers
pull/376/head
Andrey Kamaev 12 years ago
parent 3a55fb9d1b
commit 11871528ce
  1. 5
      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

Loading…
Cancel
Save