diff --git a/src/mutex.hpp b/src/mutex.hpp index 8ff02269..25ad8451 100644 --- a/src/mutex.hpp +++ b/src/mutex.hpp @@ -35,7 +35,7 @@ // Mutex class encapsulates OS mutex in a platform-independent way. -#ifdef ZMQ_HAVE_WINDOWS +#if defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_USE_CV_IMPL_PTHREADS) #include "windows.hpp"