added #undef True/False to avoid collision with X11 (Patch #1562)
authorVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Tue, 9 Oct 2012 12:02:06 +0000 (16:02 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Tue, 9 Oct 2012 12:02:06 +0000 (16:02 +0400)
modules/flann/include/opencv2/flann/dist.h

index ceb8354..ab78b25 100644 (file)
@@ -77,6 +77,8 @@ struct Accumulator<short>  { typedef float Type; };
 template<>
 struct Accumulator<int> { typedef float Type; };
 
+#undef True
+#undef False
 
 class True
 {