mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
-added Windows Embedded Compact 2013 support
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
#include "Poco/DateTimeFormatter.h"
|
||||
#include <ctime>
|
||||
#include <iostream>
|
||||
#if defined(_WIN32_WCE)
|
||||
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
|
||||
#include "wce_time.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ Poco::Path SharedMemoryTest::findDataFile(const std::string& afile)
|
||||
while (!Poco::Path::find(root.toString(), "data", result))
|
||||
{
|
||||
root.makeParent();
|
||||
if (root.toString().empty() || root.toString() == "/")
|
||||
if (root.toString().empty() || root.toString() == "/" || root.toString() == "\\")
|
||||
throw Poco::FileNotFoundException("Didn't find data subdir");
|
||||
}
|
||||
result.makeDirectory();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <iostream>
|
||||
|
||||
|
||||
int _tmain(int argc, wchar_t* argv[])
|
||||
int wmain(int argc, wchar_t* argv[])
|
||||
{
|
||||
if (argc > 1)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
int _tmain(int argc, wchar_t* argv[])
|
||||
int wmain(int argc, wchar_t* argv[])
|
||||
{
|
||||
std::vector<std::string> args;
|
||||
for (int i = 0; i < argc; ++i)
|
||||
|
||||
Reference in New Issue
Block a user