do not use WIN64/_WIN64 anymore - CMake did not set it anyway. Use WIN32 + __x86_64 or _M_X64 instead. Also, make VideoInput optional (WITH_VIDEOINPUT=ON/OFF) => now Mingw-dw2 can build OpenCV
This commit is contained in:
		| @@ -42,7 +42,7 @@ | ||||
| #ifndef _CXCORE_TEST_H_ | ||||
| #define _CXCORE_TEST_H_ | ||||
|  | ||||
| #if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 | ||||
| #if defined WIN32 || defined _WIN32 | ||||
| #include <windows.h> | ||||
| #undef min | ||||
| #undef max | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Vadim Pisarevsky
					Vadim Pisarevsky