From: Yann Collet Date: Mon, 2 Oct 2017 08:12:40 +0000 (-0700) Subject: same error in Visual Studio 2012 ... X-Git-Tag: v1.3.2~3^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d82d55165299a1b1411f4cbe7469bac13a7e7c;p=thirdparty%2Fzstd.git same error in Visual Studio 2012 ... --- diff --git a/programs/fileio.c b/programs/fileio.c index 2ab017a52..bd51972a8 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -149,7 +149,7 @@ const char* g_artefact = NULL; void INThandler(int sig) { assert(sig==SIGINT); (void)sig; -#if !(defined(_MSC_VER) && (_MSC_VER <= 1600 /* visual studio 2010 */)) +#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 */ #endif if (g_artefact) remove(g_artefact);