Repository: logging-log4cxx Updated Branches: refs/heads/LOGCXX-500 c9eb1e7fe -> 98141e50d
Fixed build when std::atomic is not available Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/23f1d35d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/23f1d35d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/23f1d35d Branch: refs/heads/LOGCXX-500 Commit: 23f1d35d377e77392a8b81f3274d3e2dc09e79c3 Parents: 72701c8 Author: Denys Smolianiuk <denys.smolian...@harmonicinc.com> Authored: Tue Aug 28 11:36:31 2018 +0300 Committer: Denys Smolianiuk <denys.smolian...@harmonicinc.com> Committed: Tue Aug 28 11:36:31 2018 +0300 ---------------------------------------------------------------------- src/main/include/log4cxx/helpers/mutex.h | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/23f1d35d/src/main/include/log4cxx/helpers/mutex.h ---------------------------------------------------------------------- diff --git a/src/main/include/log4cxx/helpers/mutex.h b/src/main/include/log4cxx/helpers/mutex.h index aecc6bd..e4b0411 100644 --- a/src/main/include/log4cxx/helpers/mutex.h +++ b/src/main/include/log4cxx/helpers/mutex.h @@ -22,7 +22,9 @@ #include <apr_portable.h> +#if defined(RW_MUTEX) #include <atomic> +#endif extern "C" { struct apr_thread_mutex_t;