From 1fdba696ca1cabfe218815e2b000d444ed0408f2 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 25 Dec 2018 15:04:49 -0800 Subject: [PATCH] fixed VS2008 project bench.c => benchfn.c + benchzstd.c wrong util.c from prior patch and warnings : C4127 --- build/VS2008/fullbench/fullbench.vcproj | 4 ++-- build/VS2008/zstd/zstd.vcproj | 6 +++++- programs/platform.h | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build/VS2008/fullbench/fullbench.vcproj b/build/VS2008/fullbench/fullbench.vcproj index 55f784977..996ee26a9 100644 --- a/build/VS2008/fullbench/fullbench.vcproj +++ b/build/VS2008/fullbench/fullbench.vcproj @@ -397,7 +397,7 @@ > + + and */ # define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */ # endif +# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ #endif