Browse Source

MSVS compatibility update.

djm34
troky 11 years ago
parent
commit
b8a1c1f660
  1. 2
      sgminer.c
  2. 6
      winbuild/sgminer.vcxproj

2
sgminer.c

@ -2385,7 +2385,7 @@ static void curses_print_uptime(void) @@ -2385,7 +2385,7 @@ static void curses_print_uptime(void)
cgtime(&now);
timersub(&now, &total_tv_start, &tv);
d = div(tv.tv_sec, 86400);
d = div((int)tv.tv_sec, 86400);
days = d.quot;
d = div(d.rem, 3600);
hours = d.quot;

6
winbuild/sgminer.vcxproj

@ -104,6 +104,7 @@ @@ -104,6 +104,7 @@
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<OptimizeReferences>false</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>
@ -141,6 +142,7 @@ exit 0</Command> @@ -141,6 +142,7 @@ exit 0</Command>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<OptimizeReferences>false</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>
@ -180,6 +182,7 @@ exit 0</Command> @@ -180,6 +182,7 @@ exit 0</Command>
<AdditionalLibraryDirectories>$(ProjectDir)dist\lib\x86</AdditionalLibraryDirectories>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>LIBCMT</IgnoreSpecificDefaultLibraries>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>
@ -221,8 +224,7 @@ exit 0</Command> @@ -221,8 +224,7 @@ exit 0</Command>
<AdditionalLibraryDirectories>$(ProjectDir)dist\lib\x64</AdditionalLibraryDirectories>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>LIBCMT</IgnoreSpecificDefaultLibraries>
<LinkTimeCodeGeneration>
</LinkTimeCodeGeneration>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>

Loading…
Cancel
Save