0
0
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:
Luca Boccassi 2020-11-26 09:07:18 +00:00 committed by GitHub
commit 17c5fca9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}