Commit efe8025a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'aggraef/purr-data-startgui-windows-fix'

parents c55d2c95 e500b684
......@@ -1347,10 +1347,11 @@ int sys_startgui(const char *guidir)
{
#ifdef MSW
int err = WSAGetLastError();
if ((ntry++ > 20) || (err != WSAEADDRINUSE))
#else
int err = errno;
#endif
if ((ntry++ > 20) || (err != EADDRINUSE))
#endif
{
perror("bind");
fprintf(stderr,
......
Supports Markdown
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