Ticket #11446: patch-libs_log_src_timestamp_cpp

File patch-libs_log_src_timestamp_cpp, 706 bytes (added by Jasper Lievisse Adriaanse <jasper@…>, 7 years ago)
Line 
1$OpenBSD: patch-libs_log_src_timestamp_cpp,v 1.1 2015/07/01 08:41:59 jasper Exp $
2--- libs/log/src/timestamp.cpp.orig Fri Jun 26 17:06:12 2015
3+++ libs/log/src/timestamp.cpp Fri Jun 26 17:11:38 2015
4@@ -203,7 +203,7 @@ BOOST_LOG_API get_tick_count_t get_tick_count = &get_t
5 #endif // _WIN32_WINNT >= 0x0600
6
7 #elif (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) /* POSIX timers supported */ \
8- || defined(__GNU__) /* GNU Hurd does not support POSIX timers fully but does provide clock_gettime() */
9+ || defined(__GNU__) || defined(__OpenBSD__) /* GNU Hurd/OpenBSD do not support POSIX timers fully but do provide clock_gettime() */
10
11 BOOST_LOG_API int64_t duration::milliseconds() const
12 {