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