1
0
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:
Alexander Alekhin
2017-07-25 13:23:44 +03:00
parent 0194d5a2d5
commit 602f047fe8
59 changed files with 136 additions and 141 deletions
+4 -4
View File
@@ -46,7 +46,7 @@
#include "precomp.hpp"
#ifdef HAVE_PVAPI
#if !defined WIN32 && !defined _WIN32 && !defined _LINUX
#if !defined _WIN32 && !defined _LINUX
#define _LINUX
#endif
@@ -57,7 +57,7 @@
#endif
#include <PvApi.h>
#ifdef WIN32
#ifdef _WIN32
# include <io.h>
#else
# include <time.h>
@@ -91,7 +91,7 @@ public:
}
protected:
#ifndef WIN32
#ifndef _WIN32
virtual void Sleep(unsigned int time);
#endif
@@ -118,7 +118,7 @@ CvCaptureCAM_PvAPI::CvCaptureCAM_PvAPI()
memset(&this->Camera, 0, sizeof(this->Camera));
}
#ifndef WIN32
#ifndef _WIN32
void CvCaptureCAM_PvAPI::Sleep(unsigned int time)
{
struct timespec t,r;