mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-12 17:12:46 +00:00
The _DEBUG preprocessor definition is typically only set on Windows. (e.g., see https://stackoverflow.com/questions/2290509/debug-vs-ndebug/29253284#29253284)
This commit is contained in:
parent
b2a0842063
commit
57e9551744
@ -136,7 +136,7 @@ void zmq::worker_poller_base_t::start (const char *name_)
|
|||||||
|
|
||||||
void zmq::worker_poller_base_t::check_thread () const
|
void zmq::worker_poller_base_t::check_thread () const
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifndef NDEBUG
|
||||||
zmq_assert (!_worker.get_started () || _worker.is_current_thread ());
|
zmq_assert (!_worker.get_started () || _worker.is_current_thread ());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user