mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 15:19:21 +01:00
disable Timestamp hack on WinCE (re-enable with -DPOCO_WINCE_TIMESTAMP_HACK)
This commit is contained in:
committed by
Guenter Obiltschnig
parent
2d4dd2dc7d
commit
0a1218cd7e
@@ -38,7 +38,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(_WIN32_WCE)
|
#if defined(_WIN32_WCE) && defined(POCO_WINCE_TIMESTAMP_HACK)
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -138,7 +138,7 @@ void GetSystemTimeAsFileTimeWithMillisecondResolution(FILETIME* pFT)
|
|||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
||||||
#endif // defined(_WIN32_WCE)
|
#endif // defined(_WIN32_WCE) && defined(POCO_WINCE_TIMESTAMP_HACK)
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@@ -210,7 +210,7 @@ void Timestamp::update()
|
|||||||
#if defined(POCO_OS_FAMILY_WINDOWS)
|
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||||
|
|
||||||
FILETIME ft;
|
FILETIME ft;
|
||||||
#if defined(_WIN32_WCE)
|
#if defined(_WIN32_WCE) && defined(POCO_WINCE_TIMESTAMP_HACK)
|
||||||
GetSystemTimeAsFileTimeWithMillisecondResolution(&ft);
|
GetSystemTimeAsFileTimeWithMillisecondResolution(&ft);
|
||||||
#else
|
#else
|
||||||
GetSystemTimeAsFileTime(&ft);
|
GetSystemTimeAsFileTime(&ft);
|
||||||
|
|||||||
Reference in New Issue
Block a user