Skip to content

Commit 17c5fca

Browse files
authored
Merge pull request #4075 from nyfix/ndebug
The _DEBUG preprocessor definition is typically only set on Windows. …
2 parents 33a51f9 + 57e9551 commit 17c5fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poller_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void zmq::worker_poller_base_t::start (const char *name_)
136136

137137
void zmq::worker_poller_base_t::check_thread () const
138138
{
139-
#ifdef _DEBUG
139+
#ifndef NDEBUG
140140
zmq_assert (!_worker.get_started () || _worker.is_current_thread ());
141141
#endif
142142
}

0 commit comments

Comments
 (0)