From 4e1ba6f02fa5ca2241b61a8a32970ca2b5653e97 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 31 Dec 2012 04:17:36 +0400 Subject: [PATCH] Fix build with libjpeg release 9 --- modules/highgui/src/grfmt_jpeg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/highgui/src/grfmt_jpeg.cpp b/modules/highgui/src/grfmt_jpeg.cpp index 6ecf2d6..5215176 100644 --- a/modules/highgui/src/grfmt_jpeg.cpp +++ b/modules/highgui/src/grfmt_jpeg.cpp @@ -63,6 +63,9 @@ typedef unsigned char boolean; #endif +#undef FALSE +#undef TRUE + extern "C" { #include "jpeglib.h" } -- 2.7.4