summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:52:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:52:17 +0000
commita33663c08681c2c0ecedda478e1ae9953237b1aa (patch)
tree052a0b53a5405685f4040921b709eeeecdfe214a /src
parent357cd5f66079c3c1b2ca8426420c35cfa8585df8 (diff)
SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.
Also, define WIN32_LEAN_AND_MEAN as we should be able to get away with using it now we dont have the shell functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7595 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/filelogger.cpp3
-rw-r--r--src/server.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/filelogger.cpp b/src/filelogger.cpp
index 5fcd58f15..244b62717 100644
--- a/src/filelogger.cpp
+++ b/src/filelogger.cpp
@@ -11,8 +11,7 @@
* ---------------------------------------------------
*/
-#include <time.h>
-#include <string>
+#include "inspircd.h"
#include <sstream>
#include <fstream>
#include "socketengine.h"
diff --git a/src/server.cpp b/src/server.cpp
index 2689b6f35..d993e7b63 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -32,7 +32,7 @@ void InspIRCd::SignalHandler(int signal)
void InspIRCd::Exit(int status)
{
#ifdef WINDOWS
- IPC->Close();
+ WindowsIPC->Close();
#endif
if (this)
{