fixed VS2008 project
bench.c => benchfn.c + benchzstd.c wrong util.c from prior patch and warnings : C4127
This commit is contained in:
@@ -397,7 +397,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\programs\bench.c"
|
RelativePath="..\..\..\programs\benchfn.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@@ -405,7 +405,7 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\tests\util.c"
|
RelativePath="..\..\..\programs\util.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
|
|||||||
@@ -337,7 +337,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\programs\bench.c"
|
RelativePath="..\..\..\programs\benchfn.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\programs\benchzstd.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ extern "C" {
|
|||||||
# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
|
# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
|
||||||
# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
|
# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
|
||||||
# endif
|
# endif
|
||||||
|
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user