summaryrefslogtreecommitdiff
path: root/win/configure.cpp
diff options
context:
space:
mode:
authorburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-23 00:37:03 +0000
committerburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-23 00:37:03 +0000
commit480e1e9e1ff6c39a154f3efc6e83b0ffc94a6c8d (patch)
tree3df6571bceabfe0d5b24e8a8aaafe7f1af3882d0 /win/configure.cpp
parent3e5634346e5a0fa18d727079e88432e9a7aa0ec0 (diff)
* Sockets will now always be nonblocking on win32 version of InspIRCd. There were some cases (mainly in TreeSockets) where a socket would not get restored to nonblocking mode after a connect() call, resulting in the server getting stuck on a blocking send() call causing freezeups.
* configure will now compile under VC7 again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7500 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/configure.cpp')
-rw-r--r--win/configure.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index adb10a6b9..a66e26118 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -13,10 +13,12 @@
#define _CRT_SECURE_NO_DEPRECATE
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <string>
#include <time.h>
+#include "inspircd_win32wrapper.h"
#include "colours.h"
using namespace std;