Fix for issue #1365

This commit is contained in:
mwtremblay 2015-01-28 20:29:07 -05:00
parent 624dc5d59c
commit 5e7295d87f

View File

@ -109,8 +109,10 @@ error:
static bool cmd_init_stdin(rarch_cmd_t *handle) static bool cmd_init_stdin(rarch_cmd_t *handle)
{ {
#ifndef _WIN32 #ifndef _WIN32
#ifdef HAVE_NETPLAY
if (!socket_nonblock(STDIN_FILENO)) if (!socket_nonblock(STDIN_FILENO))
return false; return false;
#endif
#endif #endif
handle->stdin_enable = true; handle->stdin_enable = true;
@ -640,5 +642,3 @@ bool network_cmd_send(const char *cmd_)
return ret; return ret;
} }
#endif #endif