]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
same error in Visual Studio 2012 ...
authorYann Collet <cyan@fb.com>
Mon, 2 Oct 2017 08:12:40 +0000 (01:12 -0700)
committerYann Collet <cyan@fb.com>
Mon, 2 Oct 2017 08:12:40 +0000 (01:12 -0700)
programs/fileio.c

index 2ab017a52de2abf68cb6d95b6bc1ec251834669e..bd51972a8f57d0ad1f9b870b94eef97c19755298 100644 (file)
@@ -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);