Commit fe10226c authored by Christian Beier's avatar Christian Beier
Browse files

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: default avatarChristian Beier <info@christianbeier.net>
parent d3dd89da
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