(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.

-Fix: removed some warnings
-Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
This commit is contained in:
darkvater
2004-12-23 00:24:44 +00:00
parent 552cb7ad60
commit 5eeb971de0
10 changed files with 26 additions and 20 deletions

View File

@@ -13,7 +13,7 @@
# include <winsock2.h>
# include <ws2tcpip.h>
# pragma comment (lib, "ws2_32.lib")
//# define ENABLE_NETWORK // On windows, the network is always enabled
# define ENABLE_NETWORK // On windows, the network is always enabled
# define GET_LAST_ERROR() WSAGetLastError()
# define EWOULDBLOCK WSAEWOULDBLOCK
// Windows has some different names for some types..