From: Yann Collet Date: Mon, 2 Oct 2017 09:02:16 +0000 (-0700) Subject: removed the statement for all versions of Visual Studio X-Git-Tag: v1.3.2~3^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe5444bc66b7a0aee09de6724e01f9be55daa8cc;p=thirdparty%2Fzstd.git removed the statement for all versions of Visual Studio --- diff --git a/programs/fileio.c b/programs/fileio.c index bd51972a8..dafc12468 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -149,8 +149,8 @@ const char* g_artefact = NULL; void INThandler(int sig) { assert(sig==SIGINT); (void)sig; -#if !(defined(_MSC_VER) && (_MSC_VER < 1700 /* < visual studio 2012 */)) - signal(sig, SIG_IGN); /* this invocation generates a buggy warning in Visual Studio up to 2010 */ +#if !defined(_MSC_VER) + signal(sig, SIG_IGN); /* this invocation generates a buggy warning in Visual Studio */ #endif if (g_artefact) remove(g_artefact); DISPLAY("\n");