mirror of
https://github.com/boostorg/log.git
synced 2026-01-19 04:22:09 +00:00
Removed redundant checks for __CYGWIN__ that are excluded by BOOST_WINDOWS.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <boost/cstdint.hpp>
|
||||
#include <boost/log/detail/config.hpp>
|
||||
#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
|
||||
#if defined(BOOST_WINDOWS)
|
||||
#include <boost/winapi/basic_types.hpp>
|
||||
#endif
|
||||
#include <boost/log/detail/header.hpp>
|
||||
@@ -43,7 +43,7 @@ class duration
|
||||
public:
|
||||
explicit duration(int64_t ticks = 0) BOOST_NOEXCEPT : m_ticks(ticks) {}
|
||||
|
||||
#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
|
||||
#if defined(BOOST_WINDOWS)
|
||||
int64_t milliseconds() const { return m_ticks; }
|
||||
#else
|
||||
BOOST_LOG_API int64_t milliseconds() const;
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
* be affected by clock changes, either manual or seasonal. Also, it
|
||||
* should be as fast as possible.
|
||||
*/
|
||||
#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
|
||||
#if defined(BOOST_WINDOWS)
|
||||
|
||||
typedef uint64_t (BOOST_WINAPI_WINAPI_CC* get_tick_count_t)();
|
||||
extern BOOST_LOG_API get_tick_count_t get_tick_count;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <boost/log/detail/config.hpp>
|
||||
#include <boost/log/detail/timestamp.hpp>
|
||||
|
||||
#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
|
||||
#if defined(BOOST_WINDOWS)
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <boost/memory_order.hpp>
|
||||
@@ -47,7 +47,7 @@ BOOST_LOG_OPEN_NAMESPACE
|
||||
|
||||
namespace aux {
|
||||
|
||||
#if defined(BOOST_WINDOWS) && !defined(__CYGWIN__)
|
||||
#if defined(BOOST_WINDOWS)
|
||||
|
||||
#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user