From 22beafe122786f9776d9398bc6fe45a9672b3a6f Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Sat, 14 Dec 2013 03:09:12 -0800 Subject: [PATCH] - fixed windows build for vc++ 2010 --- mk/windoze/shared_lib.vcxproj | 1 + source/shared_lib/sources/util/util.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/windoze/shared_lib.vcxproj b/mk/windoze/shared_lib.vcxproj index 98dfbdce..b47dae2e 100644 --- a/mk/windoze/shared_lib.vcxproj +++ b/mk/windoze/shared_lib.vcxproj @@ -185,6 +185,7 @@ + diff --git a/source/shared_lib/sources/util/util.cpp b/source/shared_lib/sources/util/util.cpp index fca042a4..00d877b8 100644 --- a/source/shared_lib/sources/util/util.cpp +++ b/source/shared_lib/sources/util/util.cpp @@ -378,7 +378,7 @@ void SystemFlags::Close() { SystemFlags::lockFileCountIndex = -1; if(SystemFlags::lockfilename != "") { - bool remove_result = remove(SystemFlags::lockfilename.c_str()); + int remove_result = remove(SystemFlags::lockfilename.c_str()); if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d] remove_result = %d for file [%s]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,remove_result,SystemFlags::lockfilename.c_str());