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

pull/13383/head
Vadim Pisarevsky 13 years ago
parent 3b02ee4b29
commit 6b0ea0e04e
  1. 4
      modules/highgui/src/cap_ffmpeg_impl_v2.hpp

@ -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

Loading…
Cancel
Save