]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed VS2008 project
authorYann Collet <cyan@fb.com>
Tue, 25 Dec 2018 23:04:49 +0000 (15:04 -0800)
committerYann Collet <cyan@fb.com>
Wed, 26 Dec 2018 00:14:14 +0000 (16:14 -0800)
bench.c => benchfn.c + benchzstd.c
wrong util.c from prior patch

and warnings :
C4127

build/VS2008/fullbench/fullbench.vcproj
build/VS2008/zstd/zstd.vcproj
programs/platform.h

index 55f784977caf98f433ad5fbbfaa783a11f0e707b..996ee26a916ff1fcef5ed31a194ca7a90dafd2e2 100644 (file)
                                >
                        </File>
                        <File
-                               RelativePath="..\..\..\programs\bench.c"
+                               RelativePath="..\..\..\programs\benchfn.c"
                                >
                        </File>
                        <File
                                >
                        </File>
                        <File
-                               RelativePath="..\..\..\tests\util.c"
+                               RelativePath="..\..\..\programs\util.c"
                                >
                        </File>
                        <File
index 7584636f3fe41e0ac02ba08f7b74e28324d3ca78..d738be565f23cc30a0f0982922b0f0fad7b792d2 100644 (file)
                                >
                        </File>
                        <File
-                               RelativePath="..\..\..\programs\bench.c"
+                               RelativePath="..\..\..\programs\benchfn.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\programs\benchzstd.c"
                                >
                        </File>
                        <File
index 155ebcd1eb9c8e18f9346ff59ba1d16a63b0212f..1a8f97bc4dff0e32326762fd5c4ccd87407ae10a 100644 (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