mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
build: replace WIN32 => _WIN32
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
#if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64
|
||||
#if defined _WIN32
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
@@ -1430,7 +1430,7 @@ bool TestBase::next()
|
||||
CV_TRACE_REGION("idle_delay");
|
||||
printf("Performance is unstable, it may be a result of overheat problems\n");
|
||||
printf("Idle delay for %d ms... \n", perf_validation_idle_delay_ms);
|
||||
#if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64
|
||||
#if defined _WIN32
|
||||
#ifndef WINRT_8_0
|
||||
Sleep(perf_validation_idle_delay_ms);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user