From 98659aa0dcac7636627846555ef7d5f807152b7e Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 Apr 2008 16:59:23 +0000 Subject: Merge in large patchset from GreenReaper, useful fixes for freeing a ton of different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/configure.cpp | 12 +++++++-- win/m_spanningtreeVC80.vcproj | 61 +++++++++++++++++++++---------------------- 2 files changed, 40 insertions(+), 33 deletions(-) (limited to 'win') diff --git a/win/configure.cpp b/win/configure.cpp index a7351739e..a6dab1ffd 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -552,7 +552,11 @@ void WriteCompileCommands() #endif #endif - fprintf(f, "makedir:\n if not exist debug mkdir debug\n if not exist release mkdir release\n\n"); +#ifdef _DEBUG + fprintf(f, "makedir:\n if not exist debug mkdir debug\n if not exist ..\\..\\bin\\debug\\lib mkdir ..\\..\\bin\\debug\\lib\n\n"); +#else + fprintf(f, "makedir:\n if not exist release mkdir release\n if not exist ..\\..\\bin\\release\\lib mkdir ..\\..\\bin\\release\\lib\n\n"); +#endif // dump modules.. again the second and last time :) for(int i = 0; i < command_count; ++i) @@ -623,7 +627,11 @@ void WriteCompileModules() #endif #endif - fprintf(f, "makedir:\n if not exist debug mkdir debug\n if not exist release mkdir release\n\n"); +#ifdef _DEBUG + fprintf(f, "makedir:\n if not exist debug mkdir debug\n if not exist ..\\..\\bin\\debug\\modules mkdir ..\\..\\bin\\debug\\modules\n\n"); +#else + fprintf(f, "makedir:\n if not exist release mkdir release\n if not exist ..\\..\\bin\\release\\modules mkdir ..\\..\\bin\\release\\modules\n\n"); +#endif // dump modules.. again the second and last time :) for(int i = 0; i < module_count; ++i) diff --git a/win/m_spanningtreeVC80.vcproj b/win/m_spanningtreeVC80.vcproj index 2367ef4ec..2477756d9 100644 --- a/win/m_spanningtreeVC80.vcproj +++ b/win/m_spanningtreeVC80.vcproj @@ -101,9 +101,9 @@ /> @@ -148,18 +148,15 @@ /> @@ -236,15 +230,18 @@ />