commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r826457 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/signals.c
Date Sun, 18 Oct 2009 14:54:13 GMT
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);



Mime
View raw message