Fix build with libjpeg release 9
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Mon, 31 Dec 2012 00:17:36 +0000 (04:17 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Tue, 8 Jan 2013 15:55:29 +0000 (19:55 +0400)
modules/highgui/src/grfmt_jpeg.cpp

index 6ecf2d6..5215176 100644 (file)
@@ -63,6 +63,9 @@
 typedef unsigned char boolean;
 #endif
 
+#undef FALSE
+#undef TRUE
+
 extern "C" {
 #include "jpeglib.h"
 }