mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 16:15:23 +08:00
Merge pull request #4075 from nyfix/ndebug
The _DEBUG preprocessor definition is typically only set on Windows. …
This commit is contained in:
commit
17c5fca9ea
@ -136,7 +136,7 @@ void zmq::worker_poller_base_t::start (const char *name_)
|
||||
|
||||
void zmq::worker_poller_base_t::check_thread () const
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
#ifndef NDEBUG
|
||||
zmq_assert (!_worker.get_started () || _worker.is_current_thread ());
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user