From 51d82d55165299a1b1411f4cbe7469bac13a7e7c Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 2 Oct 2017 01:12:40 -0700 Subject: [PATCH] same error in Visual Studio 2012 ... --- programs/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/fileio.c b/programs/fileio.c index 2ab017a5..bd51972a 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);