mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
define MIN macro in order to build opencv_ffmpeg*.dll.
This commit is contained in:
parent
3b02ee4b29
commit
6b0ea0e04e
@ -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…
Reference in New Issue
Block a user