mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 14:24:35 +01:00
trunk/branch integration: VxWorks & Wince
This commit is contained in:
parent
d1e2d3f2e0
commit
76216a6d55
@ -35,7 +35,11 @@
|
||||
|
||||
|
||||
#include "Poco/DirectoryIterator_UNIX.h"
|
||||
#if defined(POCO_VXWORKS)
|
||||
#include "Poco/File_VX.h"
|
||||
#else
|
||||
#include "Poco/File_UNIX.h"
|
||||
#endif
|
||||
#include "Poco/Path.h"
|
||||
|
||||
|
||||
@ -47,7 +51,11 @@ DirectoryIteratorImpl::DirectoryIteratorImpl(const std::string& path): _pDir(0),
|
||||
Path p(path);
|
||||
p.makeFile();
|
||||
|
||||
#if defined(POCO_VXWORKS)
|
||||
_pDir = opendir(const_cast<char*>(p.toString().c_str()));
|
||||
#else
|
||||
_pDir = opendir(p.toString().c_str());
|
||||
#endif
|
||||
if (!_pDir) File::handleLastError(path);
|
||||
|
||||
next();
|
||||
|
@ -35,7 +35,11 @@
|
||||
|
||||
|
||||
#include "Poco/DirectoryIterator_WIN32U.h"
|
||||
#if defined(_WIN32_WCE)
|
||||
#include "Poco/File_WINCE.h"
|
||||
#else
|
||||
#include "Poco/File_WIN32U.h"
|
||||
#endif
|
||||
#include "Poco/Path.h"
|
||||
#include "Poco/UnicodeConverter.h"
|
||||
#include <cstring>
|
||||
|
Loading…
x
Reference in New Issue
Block a user