From 3dc342af3ce9ae10011a7ac4ef752f45a1df1b48 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 May 2007 21:56:16 +0000 Subject: 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 --- src/inspircd.cpp | 4 ++-- win/inspircd_win32wrapper.h | 1 - 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 -- cgit v1.2.3