fixed VS2008 project

bench.c => benchfn.c + benchzstd.c
wrong util.c from prior patch

and warnings :
C4127
This commit is contained in:
Yann Collet 2018-12-25 15:04:49 -08:00
parent ecd4df4143
commit 1fdba696ca
3 changed files with 8 additions and 3 deletions

View File

@ -397,7 +397,7 @@
>
</File>
<File
RelativePath="..\..\..\programs\bench.c"
RelativePath="..\..\..\programs\benchfn.c"
>
</File>
<File
@ -405,7 +405,7 @@
>
</File>
<File
RelativePath="..\..\..\tests\util.c"
RelativePath="..\..\..\programs\util.c"
>
</File>
<File

View File

@ -337,7 +337,11 @@
>
</File>
<File
RelativePath="..\..\..\programs\bench.c"
RelativePath="..\..\..\programs\benchfn.c"
>
</File>
<File
RelativePath="..\..\..\programs\benchzstd.c"
>
</File>
<File

View File

@ -26,6 +26,7 @@ extern "C" {
# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
# endif
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
#endif