commit | 23f1d35d377e77392a8b81f3274d3e2dc09e79c3 | [log] [tgz] |
---|---|---|
author | Denys Smolianiuk <denys.smolianiuk@harmonicinc.com> | Tue Aug 28 11:36:31 2018 +0300 |
committer | Denys Smolianiuk <denys.smolianiuk@harmonicinc.com> | Tue Aug 28 11:36:31 2018 +0300 |
tree | 13573a049a3a5bd54ba417fad79f4d6f6f3a79d6 | |
parent | 72701c84efd1f4a96a90bb4eec63abbbce497c69 [diff] |
Fixed build when std::atomic is not available
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;