diff options
-rw-r--r-- | src/filelogger.cpp | 3 | ||||
-rw-r--r-- | src/server.cpp | 2 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.h | 4 |
3 files changed, 6 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) { diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 3f412db55..0fd43fab8 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -24,6 +24,10 @@ /* Make builds smaller, leaner and faster */ #define VC_EXTRALEAN +#define WIN32_LEAN_AND_MEAN + +/* Not defined in windows */ +#define SIGHUP 1 /* They just have to be *different*, don't they. */ #define PATH_MAX MAX_PATH |