[前][次][番号順一覧][スレッド一覧]

ruby-changes:16356

From: usa <ko1@a...>
Date: Wed, 16 Jun 2010 15:42:18 +0900 (JST)
Subject: [ruby-changes:16356] Ruby:r28333 (trunk): * error.c (rb_bug): existance of _set_abort_behavior() depends on

usa	2010-06-16 15:41:56 +0900 (Wed, 16 Jun 2010)

  New Revision: 28333

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28333

  Log:
    * error.c (rb_bug): existance of _set_abort_behavior() depends on
      runtime version, not compiler version.

  Modified files:
    trunk/ChangeLog
    trunk/error.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28332)
+++ ChangeLog	(revision 28333)
@@ -1,3 +1,8 @@
+Wed Jun 16 15:40:53 2010  NAKAMURA Usaku  <usa@r...>
+
+	* error.c (rb_bug): existance of _set_abort_behavior() depends on
+	  runtime version, not compiler version.
+
 Wed Jun 16 01:38:40 2010  Yusuke Endoh  <mame@t...>
 
 	* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
Index: error.c
===================================================================
--- error.c	(revision 28332)
+++ error.c	(revision 28333)
@@ -246,7 +246,7 @@
     report_bug(rb_sourcefile(), rb_sourceline(), fmt, args);
     va_end(args);
 
-#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400
+#if defined(_WIN32) && defined(RT_VER) && RT_VER >= 80
     _set_abort_behavior( 0, _CALL_REPORTFAULT);
 #endif
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]