summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-25 21:56:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-25 21:56:16 +0000
commit3dc342af3ce9ae10011a7ac4ef752f45a1df1b48 (patch)
tree3d433de782003702751a2c4745ee4103ebd55be5
parentd3c94171230c35c5102b6529df4960e1b4e62a1d (diff)
Choose the correct defines so that its not built too lean to compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp4
-rw-r--r--win/inspircd_win32wrapper.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7e81df32b..41b524628 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -46,7 +46,7 @@ InspIRCd* SI = NULL;
/* Burlex: Moved from exitcodes.h -- due to duplicate symbols */
const char* ExitCodes[] =
{
- "No error", /* 0 */
+ "No error", /* 0 */
"DIE command", /* 1 */
"execv() failed", /* 2 */
"Internal error", /* 3 */
@@ -277,7 +277,7 @@ bool InspIRCd::DaemonSeed()
sh.lpVerb = 0;
sh.lpDirectory = 0;
sh.hInstApp = 0;
- sh.nShow = SW_SHOW;
+ sh.nShow = SW_HIDE;
sh.lpFile = "inspircd.exe";
sh.lpParameters = "--service";
if(!ShellExecuteEx(&sh))
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 9ac6298b2..dc1157545 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -24,7 +24,6 @@
/* Make builds smaller, leaner and faster */
#define VC_EXTRALEAN
-#define WIN32_LEAN_AND_MEAN
/* Begone shitty 'safe STL' warnings */
#define _SCL_SECURE_NO_WARNINGS