mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
same error in Visual Studio 2012 ...
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user