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:
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "precomp.hpp"
|
||||
|
||||
#if defined WIN32 || defined _WIN32 || defined WINCE
|
||||
#if defined _WIN32 || defined WINCE
|
||||
# include <windows.h>
|
||||
const char dir_separators[] = "/\\";
|
||||
const char native_separator = '\\';
|
||||
@@ -139,7 +139,7 @@ const char native_separator = '/';
|
||||
|
||||
static bool isDir(const cv::String& path, DIR* dir)
|
||||
{
|
||||
#if defined WIN32 || defined _WIN32 || defined WINCE
|
||||
#if defined _WIN32 || defined WINCE
|
||||
DWORD attributes;
|
||||
BOOL status = TRUE;
|
||||
if (dir)
|
||||
|
||||
Reference in New Issue
Block a user