2
0
mirror of https://github.com/boostorg/timer.git synced 2026-01-27 19:32:12 +00:00

BOOST_PLAT_WINDOWS_DESKTOP is not defined for Cygwin

This commit is contained in:
Peter Dimov
2019-01-16 01:29:01 +02:00
parent f070343556
commit b7bf32e40c

View File

@@ -122,7 +122,7 @@ namespace
# if defined(BOOST_WINDOWS_API)
# if BOOST_PLAT_WINDOWS_DESKTOP
# if BOOST_PLAT_WINDOWS_DESKTOP || defined(__CYGWIN__)
FILETIME creation, exit;
if (::GetProcessTimes(::GetCurrentProcess(), &creation, &exit,
(LPFILETIME)&current.system, (LPFILETIME)&current.user))