define MIN macro in order to build opencv_ffmpeg*.dll.

This commit is contained in:
Vadim Pisarevsky 2012-04-10 10:53:04 +00:00
parent 3b02ee4b29
commit 6b0ea0e04e

View File

@ -125,6 +125,10 @@ extern "C" {
#include <sys/sysctl.h>
#endif
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
int get_number_of_cpus(void)
{
#if defined WIN32 || defined _WIN32