removed the statement for all versions of Visual Studio

dev
Yann Collet 2017-10-02 02:02:16 -07:00
parent 51d82d5516
commit fe5444bc66
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ const char* g_artefact = NULL;
void INThandler(int sig) void INThandler(int sig)
{ {
assert(sig==SIGINT); (void)sig; assert(sig==SIGINT); (void)sig;
#if !(defined(_MSC_VER) && (_MSC_VER < 1700 /* < visual studio 2012 */)) #if !defined(_MSC_VER)
signal(sig, SIG_IGN); /* this invocation generates a buggy warning in Visual Studio up to 2010 */ signal(sig, SIG_IGN); /* this invocation generates a buggy warning in Visual Studio */
#endif #endif
if (g_artefact) remove(g_artefact); if (g_artefact) remove(g_artefact);
DISPLAY("\n"); DISPLAY("\n");