-added Windows Embedded Compact 2013 support

This commit is contained in:
Günter Obiltschnig
2014-03-17 14:36:17 +01:00
parent cd607b6f28
commit b2ba1dfb74
221 changed files with 53154 additions and 13873 deletions

View File

@@ -42,7 +42,7 @@
#include "Poco/ErrorHandler.h"
#include <sstream>
#include <ctime>
#if defined(_WIN32_WCE)
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
#include "wce_time.h"
#endif
@@ -89,7 +89,7 @@ PooledThread::PooledThread(const std::string& name, int stackSize):
{
poco_assert_dbg (stackSize >= 0);
_thread.setStackSize(stackSize);
#if defined(_WIN32_WCE)
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
_idleTime = wceex_time(NULL);
#else
_idleTime = std::time(NULL);
@@ -156,7 +156,7 @@ int PooledThread::idleTime()
{
FastMutex::ScopedLock lock(_mutex);
#if defined(_WIN32_WCE)
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
return (int) (wceex_time(NULL) - _idleTime);
#else
return (int) (time(NULL) - _idleTime);
@@ -232,7 +232,7 @@ void PooledThread::run()
}
FastMutex::ScopedLock lock(_mutex);
_pTarget = 0;
#if defined(_WIN32_WCE)
#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
_idleTime = wceex_time(NULL);
#else
_idleTime = time(NULL);