- fixed windows build for vc++ 2010

This commit is contained in:
SoftCoder 2013-12-14 03:09:12 -08:00
parent b11932b92d
commit 22beafe122
2 changed files with 2 additions and 1 deletions

View File

@ -185,6 +185,7 @@
<ClCompile Include="..\..\source\shared_lib\sources\graphics\freetype-gl\vertex-buffer.c" />
<ClCompile Include="..\..\source\shared_lib\sources\graphics\gl\font_textFTGL.cpp" />
<ClCompile Include="..\..\source\shared_lib\sources\graphics\gl\font_text_freetypegl.cpp" />
<ClCompile Include="..\..\source\shared_lib\sources\graphics\gl\model_gl.cpp" />
<ClCompile Include="..\..\source\shared_lib\sources\graphics\video_player.cpp" />
<ClCompile Include="..\..\source\shared_lib\sources\platform\common\byte_order.cpp" />
<ClCompile Include="..\..\source\shared_lib\sources\platform\miniupnpc\connecthostport.c" />

View File

@ -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());