diff options
Diffstat (limited to '')
-rw-r--r-- | src/thread/PosixCond.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/thread/PosixCond.hxx b/src/thread/PosixCond.hxx index c2797649a..b3fe204e1 100644 --- a/src/thread/PosixCond.hxx +++ b/src/thread/PosixCond.hxx @@ -27,8 +27,8 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef MPD_THREAD_POSIX_COND_HXX -#define MPD_THREAD_POSIX_COND_HXX +#ifndef THREAD_POSIX_COND_HXX +#define THREAD_POSIX_COND_HXX #include "PosixMutex.hxx" @@ -41,7 +41,7 @@ class PosixCond { pthread_cond_t cond; public: -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__BIONIC__) /* NetBSD's PTHREAD_COND_INITIALIZER is not compatible with "constexpr" */ PosixCond() { |