Unverified Commit 501f9d8d authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3483 from ssbl/dead-code-fix

Problem: unused Windows-specific code in sleep_ms
parents e3a96778 e9678efe
......@@ -77,10 +77,7 @@ static int sleep_ms (unsigned int ms_)
{
if (ms_ == 0)
return 0;
#if defined ZMQ_HAVE_WINDOWS
Sleep (ms_ > 0 ? ms_ : INFINITE);
return 0;
#elif defined ZMQ_HAVE_ANDROID
#if defined ZMQ_HAVE_ANDROID
usleep (ms_ * 1000);
return 0;
#elif defined ZMQ_HAVE_VXWORKS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment