WinRT build fix for samples and static libs.

This commit is contained in:
Alexander Smorkalov
2013-06-20 00:46:56 -07:00
parent b0854c605a
commit 91c519467d
2 changed files with 4 additions and 9 deletions

View File

@@ -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 + "\\*.*";