diff options
Diffstat (limited to 'boost/log/detail/timestamp.hpp')
-rw-r--r-- | boost/log/detail/timestamp.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/log/detail/timestamp.hpp b/boost/log/detail/timestamp.hpp index 3f55ac238e..95c1f0a945 100644 --- a/boost/log/detail/timestamp.hpp +++ b/boost/log/detail/timestamp.hpp @@ -18,6 +18,9 @@ #include <boost/cstdint.hpp> #include <boost/log/detail/config.hpp> +#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__) +#include <boost/detail/winapi/basic_types.hpp> +#endif #include <boost/log/detail/header.hpp> #ifdef BOOST_HAS_PRAGMA_ONCE @@ -73,7 +76,7 @@ public: */ #if defined(BOOST_WINDOWS) && !defined(__CYGWIN__) -typedef uint64_t (__stdcall* get_tick_count_t)(); +typedef uint64_t (WINAPI* get_tick_count_t)(); extern BOOST_LOG_API get_tick_count_t get_tick_count; inline timestamp get_timestamp() |