You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/10/18 16:54:13 UTC

svn commit: r826457 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c

Author: mturk
Date: Sun Oct 18 14:54:13 2009
New Revision: 826457

URL: http://svn.apache.org/viewvc?rev=826457&view=rev
Log:
Check for a flag instead compiler version

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c?rev=826457&r1=826456&r2=826457&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c Sun Oct 18 14:54:13 2009
@@ -198,7 +198,7 @@
         break;
         case SIGABRT:
             pre_exit_cleanup();
-#if defined(_MSC_VER) && (_MSC_VER > 1400)
+#if defined(_WRITE_ABORT_MSG)
             /* Visual C++ 2005 and later
              */
             _set_abort_behavior(0, _WRITE_ABORT_MSG);