summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
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 /win/inspircd_win32wrapper.h
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 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h4
1 files changed, 4 insertions, 0 deletions
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