Fix building with Visual Studio 2008
This older Microsoft compiler does not support mixing declarations and code and misses some error defines. This commit enables building with VS2008 by moving up some variable declarations and defining error codes to their WinSock counterparts in case they're not defined. Signed-off-by: Christian Beier <info@christianbeier.net>pull/2184/head
parent
d3dd89da82
commit
fe10226cc9
Loading…
Reference in New Issue