Commit 9b93a0890c7c8246c84f9286fe3c65731d7bb371

Authored by Perry Werneck
1 parent 8af65151
Exists in master and in 1 other branch develop

Fixing windows builds.

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
client/src/session/remote/session.cc
... ... @@ -408,7 +408,12 @@
408 408  
409 409 while(time(nullptr) < end) {
410 410  
  411 +#ifdef _WIN32
  412 + Sleep(1000);
  413 +#else
411 414 sleep(1);
  415 +#endif // _WIN32
  416 +
412 417 if(getConnectionState() == TN3270::DISCONNECTED)
413 418 throw std::runtime_error("Disconnected");
414 419  
... ...