Commit 6b0ea0e0 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

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

parent 3b02ee4b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment