From 8b48eebeee4291c0bbee9f33937ed430887400d6 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Mon, 20 Dec 2010 21:20:46 +0000 Subject: [PATCH] enable #include "cvconfig.h" in highgui on Windows. That should fix camera capture. --- modules/highgui/src/precomp.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/highgui/src/precomp.hpp b/modules/highgui/src/precomp.hpp index 6e1a3d7124..8d99a1ac65 100644 --- a/modules/highgui/src/precomp.hpp +++ b/modules/highgui/src/precomp.hpp @@ -58,9 +58,8 @@ #include #include -#if !defined WIN32 && !defined _WIN32 #include "cvconfig.h" -#else +#if defined WIN32 || defined _WIN32 void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origin ); #endif