]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/gsocket.cpp
Return from DoDrawSpline without doing anything (like segfaulting
[wxWidgets.git] / src / unix / gsocket.cpp
index ea83e5f4f995bdfc188da3216bf218f7d048928b..d7bb9362d30833b9dbde588d237e21223ab0a43a 100644 (file)
@@ -478,11 +478,7 @@ GSocketError GSocket::SetServer()
     m_error = GSOCK_IOERR;
     return GSOCK_IOERR;
   }
-#if defined(__EMX__) || defined(__VISAGECPP__)
-  ioctl(m_fd, FIONBIO, (char*)&arg, sizeof(arg));
-#else
   ioctl(m_fd, FIONBIO, &arg);
-#endif
   gs_gui_functions->Enable_Events(this);
 
   /* allow a socket to re-bind if the socket is in the TIME_WAIT