WinRT build fix for samples and static libs.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#include "opencv2/contrib/contrib.hpp"
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <dirent.h>
|
||||
@@ -67,7 +67,7 @@ static void readDirectory( const string& directoryName, vector<string>& filename
|
||||
{
|
||||
filenames.clear();
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) | defined(_WIN32)
|
||||
struct _finddata_t s_file;
|
||||
string str = directoryName + "\\*.*";
|
||||
|
||||
|
Reference in New Issue
Block a user